You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently cleanUrls is only configurable via a specific config file. I am suggesting and would be happy to send PR to add a CLI option to control cleanUrls. Very similar change to --no-request-logginghttps://github.com/vercel/serve/pull/716/files
Why
Currently cleanUrls is only configurable via a specific config file. Creating a configuration file just for this option could cause confusion/maintenance hassle as people don't know the file path to config should be specified relative to the public folder.
Additional it seems odd that some options are configurable via CLI and others are not.
Description
Currently
cleanUrls
is only configurable via a specific config file. I am suggesting and would be happy to send PR to add a CLI option to control cleanUrls. Very similar change to--no-request-logging
https://github.com/vercel/serve/pull/716/filesWhy
Currently
cleanUrls
is only configurable via a specific config file. Creating a configuration file just for this option could cause confusion/maintenance hassle as people don't know the file path toconfig
should be specified relative to the public folder.Additional it seems odd that some options are configurable via CLI and others are not.
Example issues people are facing: #732 and #722
Alternatives
--config
CLI argument, and make sure path is correct to each public folder being served.The text was updated successfully, but these errors were encountered: