-
-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The WEB UI cannot loading its JS,CSS files #340
Comments
Hey, is the 404 error returned by Laravel or your web server? |
Well, it has not other errors of Laravel or web server(nginx), only loading failed the 4 files. |
I mean, are the 404 response you get a nice Laravel error pages or the basic ones from nginx? That would tell you if the problem is your web server configuration or Laravel/Clockwork. If you want to check on what's happening inside Clockwork and
|
Oh! The 4 files' 404 response is the basic ones from nginx. It is my nginx default configuration:
The JS,CSS files was be disabled executing on more web server.Maybe the 4 files' suffix should be changed? |
You will need to add an exception for Alternatively you could just copy these files to you |
OK. I will add an exception to nginx configuration. This problem maybe make some novices puzzling, because it is easy to ignore the web server default configurations for someone (like me. Aha...).
|
I have met the same problem as yours, all the js/css are 404 if loaded from the script/link tags,but can be opened in new tab.Could you show me your final nginx cofiguration please? |
@williamqian emmm...Finally, I remove the rules about JS and CSS in local/dev/testing ENV. |
haha,so did I ,thanks |
I am facing same issue. I am using xampp. How and where should I add exception? |
Would be really cool to have a command like This would work for nginx and apache users. |
If you must cache assets, then update the rule so it ignores clockwork.
This worked for me, though I wanted a seperate rule, but even if the above rules body is empty, the clockwork assets wouldn't return. |
I install clockwork to my project, but the WEB UI doesn't work. It can be open in chrome, but can't loading all js and css file. Am I missing something?
"php": "7.2.19"
"laravel/framework": "5.8.29"
"itsgoingd/clockwork": "4.0.5"
composer require itsgoingd/clockwork
successfully.The text was updated successfully, but these errors were encountered: