-
Notifications
You must be signed in to change notification settings - Fork 6.3k
-
I am trying to run a SvelteKit project using code-server. When I run pnpm run dev
and visit [url]/proxy/5173, it returns
connect ECONNREFUSED 0.0.0.0:5173
I tried adding the base:"/absproxy/5173" to svelte.config.js and visiting [url]/absproxy/5173, but it still returned the same result.
svelte.config.js
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),
kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter(),
paths:{ base: "/absproxy/5173"}
},
};
How to fix this?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment