mirror of
https://github.com/versia-pub/server.git
synced 2026-03-12 21:39:15 +01:00
refactor(api): 🔥 Remove Glitch-FE explicit support
This commit is contained in:
parent
df466ecaa0
commit
bec60fbf96
12 changed files with 8 additions and 691 deletions
|
|
@ -120,7 +120,7 @@ bait_ips = ["127.0.0.1", "::1"]
|
|||
bait_user_agents = ["curl", "wget"]
|
||||
|
||||
[frontend]
|
||||
# Enable custom frontends (warning: not enabling this or Glitch will make Versia Server only accessible via the Mastodon API)
|
||||
# Enable custom frontends (warning: not enabling this will make Versia Server only accessible via the Mastodon API)
|
||||
# Frontends also control the OAuth flow, so if you disable this, you will need to use the Mastodon frontend
|
||||
enabled = true
|
||||
# The URL to reach the frontend at (should be on a local network)
|
||||
|
|
@ -141,14 +141,6 @@ url = "http://localhost:3000"
|
|||
# This can be used to set up custom themes, etc on supported frontends.
|
||||
# theme = "dark"
|
||||
|
||||
[frontend.glitch]
|
||||
# Enable the Glitch frontend integration
|
||||
enabled = false
|
||||
# Glitch assets folder
|
||||
assets = "glitch"
|
||||
# Server the assets were ripped from (and any eventual CDNs)
|
||||
server = ["https://tech.lgbt"]
|
||||
|
||||
[smtp]
|
||||
# SMTP server to use for sending emails
|
||||
server = "smtp.example.com"
|
||||
|
|
|
|||
|
|
@ -392,33 +392,6 @@
|
|||
"$ref": "#/properties/http/properties/proxy/properties/address/anyOf/0",
|
||||
"default": "http://localhost:3000"
|
||||
},
|
||||
"glitch": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"assets": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"default": "glitch"
|
||||
},
|
||||
"server": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/properties/http/properties/proxy/properties/address/anyOf/0"
|
||||
},
|
||||
"default": []
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"default": {
|
||||
"enabled": false,
|
||||
"assets": "glitch",
|
||||
"server": []
|
||||
}
|
||||
},
|
||||
"routes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
@ -463,11 +436,6 @@
|
|||
"default": {
|
||||
"enabled": true,
|
||||
"url": "http://localhost:3000",
|
||||
"glitch": {
|
||||
"enabled": false,
|
||||
"assets": "glitch",
|
||||
"server": []
|
||||
},
|
||||
"settings": {}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue