feat: support for subpath based access in SH apps (#3449)
Co-authored-by: Balu Babu <balub997@gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
:8080 {
|
||||
try_files {path} /
|
||||
root * /site
|
||||
file_server
|
||||
try_files {path} /
|
||||
root * /site
|
||||
file_server
|
||||
}
|
||||
|
||||
5
packages/hoppscotch-selfhost-web/selfhost-web.Caddyfile
Normal file
5
packages/hoppscotch-selfhost-web/selfhost-web.Caddyfile
Normal file
@@ -0,0 +1,5 @@
|
||||
:80 :3000 {
|
||||
try_files {path} /
|
||||
root * /site
|
||||
file_server
|
||||
}
|
||||
@@ -223,6 +223,8 @@ export default defineConfig({
|
||||
/twitter/,
|
||||
/github/,
|
||||
/announcements/,
|
||||
/admin/,
|
||||
/backend/,
|
||||
],
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user