fix frontend for new domains

This commit is contained in:
2026-05-06 12:35:29 +02:00
parent 9e4a9e8a52
commit b6624d6ba1
3 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -9,20 +9,20 @@ export default defineConfig({
allowedHosts: ['teletypegames.org'],
proxy: {
'/proxy/wiki': {
target: 'https://wiki.teletype.hu',
target: 'https://wiki.teletypegames.org',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/proxy\/wiki/, '')
},
'/_assets': {
target: 'https://wiki.teletype.hu',
target: 'https://wiki.teletypegames.org',
changeOrigin: true,
},
'/_error': {
target: 'https://wiki.teletype.hu',
target: 'https://wiki.teletypegames.org',
changeOrigin: true,
},
'/proxy/git': {
target: 'https://git.teletype.hu',
target: 'https://git.teletypegames.org',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/proxy\/git/, '')
}