Skip to content

Commit

Permalink
fix: deploy path
Browse files Browse the repository at this point in the history
  • Loading branch information
Agilulfo1820 committed Dec 13, 2024
1 parent 1172047 commit 189adb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ permissions:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
MNEMONIC: ${{ secrets.MNEMONIC }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions apps/frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import react from "@vitejs/plugin-react";
import { nodePolyfills } from "vite-plugin-node-polyfills";
import { resolve } from "path";

export default defineConfig(() => {
export default defineConfig(({ mode }) => {
return {
plugins: [nodePolyfills(), react()],
build: {
Expand All @@ -32,6 +32,6 @@ export default defineConfig(() => {
resolve(__dirname, "test/setup/resizeObserverMock.ts"),
],
},
base: "/",
base: mode === "production" ? "/smart-accounts-factory/" : "/",
};
});

0 comments on commit 189adb9

Please sign in to comment.