use folders with index.html
See original GitHub issueOn gitlab pages (and maybe github pages too) if I have a page that is routed at /about
react-snapshot makes a about.html
, which doesn’t resolve to /about
. It’d be neat to have an option to make about/index.html
, so it routes correctly. If there is interest, I’d be happy to make a PR.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7
Top Results From Across the Web
The right way of using index.html - Webmasters Stack Exchange
I mean, I would move my blog.html into the blog folder, rename it into the index.html and add rel="canonical" to unify ...
Read more >How can I create a simple index.html file which lists all files ...
Generate an HTML directory index one level deep: tree -H '.' -L 1 --noreport --charset utf-8 -o index.html. Only include specific file types ......
Read more >Dealing with files - Learn web development | MDN
index.html · images folder: This folder will contain all the images that you use on your site. · styles folder: This folder will...
Read more >Web Design Basics: Index.html and Folder Structure - YouTube
2021 update--Hi Youtube friends searching for information regarding the index. html file of a web-site. This video was 2nd in a series of ......
Read more >Adding index.html file in root collection folder - IBM
Creating the index.html file on a Unix system · Go to the following path: /home/<user>/IBM/iccsap/server/bin/webroot. · Create a folder with the same name...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I don’t have too much control over how gitlab and s3 serve static files. I can probly configure them both to work some other way, but my fork (in the PR) does that work in a better way, in my opinion, in that it just generates the right structure by simple config (and by default generates the old structure.) This issues is pretty old, and I stopped using this tool, in favor of other more mature & maintained stuff.
@danvoyce that changes the URL, though. I still think my PR is better. It defaults to current behavior, but adds an option to output files however you like.