forked from abner/for-legacy-web
Use base url for building actions
This commit is contained in:
@@ -11,7 +11,7 @@ import Client from "./revoltjs/RevoltClient";
|
||||
|
||||
export default function Context({ children }: { children: Children }) {
|
||||
return (
|
||||
<Router>
|
||||
<Router basename={import.meta.env.BASE_URL}>
|
||||
<State>
|
||||
<Theme>
|
||||
<Settings>
|
||||
|
||||
1
src/env.d.ts
vendored
1
src/env.d.ts
vendored
@@ -1,6 +1,7 @@
|
||||
interface ImportMetaEnv {
|
||||
VITE_API_URL: string;
|
||||
VITE_THEMES_URL: string;
|
||||
BASE_URL: string;
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
|
||||
Reference in New Issue
Block a user