diff options
-rw-r--r-- | config.toml | 74 | ||||
-rw-r--r-- | fly.toml | 26 | ||||
-rw-r--r-- | taplo.toml | 7 |
3 files changed, 57 insertions, 50 deletions
diff --git a/config.toml b/config.toml index 105a260..49d864b 100644 --- a/config.toml +++ b/config.toml @@ -11,53 +11,53 @@ original_domain = "alanpearce.eu" oidc_host = "https://id.alanpearce.eu/" [[taxonomies]] -name = "tags" -feed = true + name = "tags" + feed = true [content-security-policy] -default-src = [ - "'none'", -] -image-src = [ - "'self'", - "http://gc.zgo.at", -] -script-src = [ - "'self'", - "http://gc.zgo.at", -] -style-src = [ - "'unsafe-inline'", -] -frame-ancestors = [ - "https://kagi.com", -] -connect-src = [ - "https://alanpearce-eu.goatcounter.com/count", -] -require-trusted-types-for = [ - "'script'", -] + default-src = [ + "'none'", + ] + image-src = [ + "'self'", + "http://gc.zgo.at", + ] + script-src = [ + "'self'", + "http://gc.zgo.at", + ] + style-src = [ + "'unsafe-inline'", + ] + frame-ancestors = [ + "https://kagi.com", + ] + connect-src = [ + "https://alanpearce-eu.goatcounter.com/count", + ] + require-trusted-types-for = [ + "'script'", + ] [extra.headers] -cache-control = "max-age=14400" -x-content-type-options = "nosniff" + cache-control = "max-age=14400" + x-content-type-options = "nosniff" [[menus.main]] - name = "Home" - url = "/" + name = "Home" + url = "/" [[menus.main]] - name = "Posts" - url = "/post/" + name = "Posts" + url = "/post/" [[menus.main]] - name = "Feed" - url = "/atom.xml" + name = "Feed" + url = "/atom.xml" [[menus.main]] - name = "Tags" - url = "/tags/" + name = "Tags" + url = "/tags/" [[menus.main]] - name = "Repositories" - url = "https://git.alanpearce.eu" + name = "Repositories" + url = "https://git.alanpearce.eu" [[menus.me]] name = "Sourcehut" diff --git a/fly.toml b/fly.toml index d9d84da..b4914d5 100644 --- a/fly.toml +++ b/fly.toml @@ -24,20 +24,20 @@ primary_region = "ams" auto_stop_machines = false auto_start_machines = true min_machines_running = 3 - processes = ["app"] + processes = [ "app" ] [http_service.concurrency] type = "requests" hard_limit = 20000 soft_limit = 15000 -[http_service.http_options] - h2_backend = true -[http_service.http_options.response] - pristine = true -[[http_service.checks]] - grace_period = "15s" - interval = "30s" - method = "GET" - timeout = "1s" - path = "/health" - [http_service.checks.headers] - Host = "fly-internal" + [http_service.http_options] + h2_backend = true + [http_service.http_options.response] + pristine = true + [[http_service.checks]] + grace_period = "15s" + interval = "30s" + method = "GET" + timeout = "1s" + path = "/health" + [http_service.checks.headers] + Host = "fly-internal" diff --git a/taplo.toml b/taplo.toml new file mode 100644 index 0000000..7da1868 --- /dev/null +++ b/taplo.toml @@ -0,0 +1,7 @@ +#:schema taplo://taplo.toml + +[formatting] + indent_tables = true + indent_entries = true + array_auto_collapse = false + compact_arrays = false |