Skip to content
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

404 Not Found of '/.devd.livereload.js' #71

Closed
HatsuneMiku3939 opened this issue Sep 23, 2016 · 1 comment
Closed

404 Not Found of '/.devd.livereload.js' #71

HatsuneMiku3939 opened this issue Sep 23, 2016 · 1 comment

Comments

@HatsuneMiku3939
Copy link

how to reproduce

  • start devd like below
$ devd -l test=.
16:03:40: Route test.devd.io/ -> reads files from .
16:03:40: Listening on http://devd.io (127.0.0.1:80)
16:04:17: GET /index.html
        <- 301 Moved Permanently
16:04:17: GET /
        <- 304 Not Modified
16:04:17: GET /.devd.livereload.js
        <- 404 Not Found 133 B
16:04:17: GET /scripts/main.js
        <- 304 Not Modified
16:04:18: GET /.devd.livereload.js
        <- 404 Not Found 133 B
  • visit test.devd.io/index.html on browser

injected script tag

<script src="/.devd.livereload.js"></script>

browser is try to load test.devd.io/.devd.livereload.js. but. .devd.livereload.js is served by devd.io/.devd.livereload.js

@HatsuneMiku3939
Copy link
Author

thank you for your efforts. it works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant