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

Reconsider a few defaults #31

Open
eddiezab opened this issue Sep 10, 2020 · 1 comment
Open

Reconsider a few defaults #31

eddiezab opened this issue Sep 10, 2020 · 1 comment
Assignees
Labels
feature New feature

Comments

@eddiezab
Copy link

We've been using satellite for a bit now, and there are a couple of observations that we have after using the tool, that we wanted to provide as feedback and potential features/changes:

Default Serve
Perhaps you have another use case, but in our usage, it seems plausible to default to serving a file/route, even in the absence of a .info file. In this case, test.html for example, will always be served. Standard route configuration can be optionally applied if a test.html.info exists. Perhaps there could be a configuration directive to specifically not serve the file in this configuration. While it's easy enough to create the .info files in the current incarnation, it makes it slightly more difficult to quickly identify the key files that have configurations beyond being just served.

Default mime-types:
It would be useful to have a site-wide list of default mime-types for common file extensions that apply if they're not overridden in the .info file. For example, currently *.css files get transferred with a mime-type of text/html which breaks processing (at least in chrome). If you're using a copied site, it quickly gets cumbersome to add that to each css.info file.

@t94j0
Copy link
Owner

t94j0 commented Mar 11, 2021

I really like that

@t94j0 t94j0 self-assigned this Mar 11, 2021
@t94j0 t94j0 added the feature New feature label Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

2 participants