This repository has been archived by the owner on Feb 13, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 90
API returns 'Not Found' after first request on v1.7.9 #556
Comments
leyume
changed the title
API returns 'Not Found' after first request
API returns 'Not Found' after first request on v1.7.9
Feb 6, 2021
I encountered this behavior while following the official documentation. I added a second emit to verify it. The first visit returns the route properly, at the second attempt it bypasses all other Routes and triggers the first Swoole\emit it encounters so in my case it returns 'Hello World' rather than 'Not Found'. index.php:
pages/home.php
api/todos.php
|
Exactly same behavior for me. Using fresh installed swoole with pecl and php 7.4, siler from composer. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello @leocavalcante
Thank you for Siler.
There's this strange issue with v1.7.9
API returns 'Not Found' after first request with Siler Swoole
This worked fine up to version 1.7.8
Simple code to recreate
index.php
Then, api/get.php
Request API more than once. You would see the "Not Found"
The text was updated successfully, but these errors were encountered: