about summary refs log tree commit diff stats
path: root/config.toml
diff options
context:
space:
mode:
authorAlan Pearce2024-05-02 23:18:19 +0200
committerAlan Pearce2024-05-02 23:20:30 +0200
commit73603079e29bc89c54296a9e12b5a779cd84c023 (patch)
tree3e5d0c0c87b81a007667fc4b533cb9403675a422 /config.toml
parent7ad48953a4d9470d2f4fe89343c0b09bff410c58 (diff)
downloadsearchix-73603079e29bc89c54296a9e12b5a779cd84c023.tar.lz
searchix-73603079e29bc89c54296a9e12b5a779cd84c023.tar.zst
searchix-73603079e29bc89c54296a9e12b5a779cd84c023.zip
feat: serve a very basic html template
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml23
1 files changed, 23 insertions, 0 deletions
diff --git a/config.toml b/config.toml
new file mode 100644
index 0000000..cdbe7d1
--- /dev/null
+++ b/config.toml
@@ -0,0 +1,23 @@
+base_url = "https://searchix.alanpearce.eu"
+
+[content-security-policy]
+default-src = [
+  "'none'",
+]
+image-src = [
+  "'self'",
+  "http://gc.zgo.at",
+]
+script-src = [
+  "'self'",
+  "http://gc.zgo.at",
+]
+style-src = [
+  "'unsafe-inline'",
+]
+require-trusted-types-for = [
+  "'script'",
+]
+
+[headers]
+x-content-type-options = "nosniff"