mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 13:17:08 +00:00
Relative path for assets (#340)
This commit is contained in:
parent
af054ef3bb
commit
46655f79d9
1
changelog.d/340.bugfix
Normal file
1
changelog.d/340.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Fix a bug where widgets would not load if hosted on a subpath (e.g. `/hookshot` instead of `/`)
|
@ -5,7 +5,7 @@ import preact from '@preact/preset-vite'
|
||||
export default defineConfig({
|
||||
plugins: [preact()],
|
||||
root: 'web',
|
||||
base: '/widgetapi/v1/static/',
|
||||
base: '',
|
||||
build: {
|
||||
outDir: '../public',
|
||||
emptyOutDir: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user