style the home page, get rid of nojs pages
instead of having dedicated nojs pages, i will instead just use javascript to enhance the already existing pages
This commit is contained in:
@@ -46,7 +46,7 @@ func loadConfig() (Config, error) {
|
||||
|
||||
databasePath := envOrDefault("MINIBIN_DATABASE_PATH", "minibin.sqlite")
|
||||
|
||||
expiriesSetting := envOrDefault("MINIBIN_EXPIRIES", "1h,12h,1d,7d,2w,1mo,6mo,1y,5y, 0")
|
||||
expiriesSetting := envOrDefault("MINIBIN_EXPIRIES", "1h,12h,1d,7d,2w,1mo,6mo,1y,5y,0")
|
||||
var expiries []Expiry
|
||||
for entry := range strings.SplitSeq(expiriesSetting, ",") {
|
||||
expiry, err := parseExpiry(entry)
|
||||
|
||||
Reference in New Issue
Block a user