question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

use folders with index.html

See original GitHub issue

On 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:open
  • Created 5 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
konsumercommented, Apr 7, 2019

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.

0reactions
konsumercommented, Mar 7, 2020

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found