mirror of
https://github.com/Xevion/linkpulse.git
synced 2025-12-07 07:15:33 -06:00
Fixup hacky login session system, add separate development Caddyfile for CORS cookie issue
This commit is contained in:
18
frontend/Caddyfile.development
Normal file
18
frontend/Caddyfile.development
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
admin off # theres no need for the admin api in railway's environment
|
||||
auto_https off # railway handles https for us, this would cause issues if left enabled
|
||||
}
|
||||
|
||||
http://localhost:8080 {
|
||||
respond /health 200
|
||||
encode {
|
||||
zstd fastest
|
||||
gzip 3
|
||||
}
|
||||
|
||||
handle /api/* {
|
||||
reverse_proxy localhost:8000
|
||||
}
|
||||
|
||||
reverse_proxy localhost:5173
|
||||
}
|
||||
Reference in New Issue
Block a user