Skip to content

Commit bba96f1

Browse files
committed
fix: make local asset routing work
1 parent 47c4005 commit bba96f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fission/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default defineConfig(({ mode }) => {
5757
target: `http://localhost:${mode === "test" ? 3001 : serverPort}`,
5858
changeOrigin: true,
5959
secure: false,
60-
rewrite: path => path.replace(/^\/api\/mira/, "/Downloadables/Mira").replace("robots", "Robots").replace("fields", "Fields"),
60+
rewrite: path => path.replace(/^\/api\/mira/, "/Downloadables/Mira"),
6161
}
6262
: {
6363
target: `https://synthesis.autodesk.com/`,

0 commit comments

Comments
 (0)