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

Refactoring reload-server to handle index.html by default and runtime optimizations #326

Merged
merged 4 commits into from
Aug 14, 2024

Conversation

amygrinn
Copy link
Contributor

@amygrinn amygrinn commented Oct 17, 2022

This is an alternative implementation of #323 with short-circuiting to improve readability.

Closes #303

amygrinn and others added 2 commits October 17, 2022 09:12
- using built-in path library
- htm files fully supported
- index served if a directory is requested
@alallier alallier changed the title Refactoring server Refactoring reload-server to handle index.html by default and runtime optimizations Aug 14, 2024
@alallier alallier merged commit 9ead609 into alallier:master Aug 14, 2024
9 checks passed
@alallier
Copy link
Owner

Thanks @amygrinn for your continue support to Reload.

Sorry it took me so long but this is much cleaner than what we had, made a few tweaks to get this PR up and happy again, but glad to merge it

Copy link

codecov bot commented Aug 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (ac7dc0e) to head (d0e7d7c).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #326   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          131       131           
=========================================
  Hits           131       131           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Successfully merging this pull request may close these issues.

Reload should (offer a possibility to) load the index.html in subdirectories
2 participants