when i use axios to get the interface: /dev/get/list, it render a page 404, so i think it can handle all the routers but i need to /dev to my real address, so what can i do when i use svelet spa router
i need to change the proxy config to:
proxy: { '/dev': { target: 'http://myaddress.com', changeOrigin: true, rewrite: (path) => path.replace(/^\/dev/, '') }, },
when i use axios to get the interface: /dev/get/list, it render a page 404, so i think it can handle all the routers but i need to /dev to my real address, so what can i do when i use svelet spa router