Skip to content

Commit

Permalink
feat: change the base url of the app
Browse files Browse the repository at this point in the history
  • Loading branch information
achamorro-dev committed Feb 13, 2023
1 parent 0f44d7e commit 9d0affe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cypress.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"baseUrl": "http://localhost:3000/binnacle",
"baseUrl": "http://localhost:3000/tnt",
"video": false,
"watchForFileChanges": false,
"experimentalFetchPolyfill": false,
Expand Down
2 changes: 1 addition & 1 deletion src/shared/AppProviders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { BrowserRouter } from 'react-router-dom'

export const AppProviders: FC = (props) => {
return (
<BrowserRouter basename="binnacle">
<BrowserRouter basename={'tnt'}>
<MyChakraProvider>
<GlobalErrorBoundary>{props.children}</GlobalErrorBoundary>
</MyChakraProvider>
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if (reload) {
if (selfDestroying) pwaOptions.selfDestroying = selfDestroying

export default defineConfig({
base: '/binnacle/',
base: '/tnt/',
build: {
outDir: 'build',
target: 'esnext'
Expand Down

0 comments on commit 9d0affe

Please sign in to comment.