Skip to content

Issues with running Remix and code-server #7025

Answered by MinskLeo
MinskLeo asked this question in Q&A
Discussion options

You must be logged in to vote

The question was answered here #6212. The solution is proper absproxy usage. I missunderstood what does mean and what is expected usage of absproxy. Anyway, thats the solution I made:

vite.config.ts

import { vitePlugin as remix } from "@remix-run/dev";
import { defineConfig } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";

export default defineConfig({
  base: '/absproxy/5173/',
  plugins: [
    remix({
      basename: '/absproxy/5173/',
      future: {
        v3_fetcherPersist: true,
        v3_relativeSplatPath: true,
        v3_throwAbortReason: true,
      },
    }),
    tsconfigPaths(),
  ],
});

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@code-asher
Comment options

Answer selected by MinskLeo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants