The Public Files Explorer can now fetch files directly from a GitHub repository. This is useful when you want to display files from a repository without having to deploy them with your application.
Note: GitHub has rate limits for API requests. If you encounter errors, try switching back to local files or wait a few minutes before trying again.
To make files appear in the Public Files Explorer when using local files, you need to add them to the public folder in your project.
public folderyour-project/ ├── public/ │ ├── images/ │ │ ├── logo.png │ │ └── banner.jpg │ ├── documents/ │ │ └── guide.pdf │ └── data.json └── ... (other project files)
When your application is deployed, you have two options for displaying files:
Note: When using local files, the file explorer reads from a manifest generated at build time. Files added after deployment won't appear until the next build.