Skip to content

Commit

Permalink
🚀 Fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
radek2s committed Feb 4, 2023
1 parent ab09b17 commit 0217f96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "bet-keeper",
"version": "0.1.0",
"private": true,
"homepage": "https://radek2s.github.io/BetKeeper",
"dependencies": {
"@fluentui/font-icons-mdl2": "^8.5.5",
"@fluentui/react": "^8.101.0",
Expand Down Expand Up @@ -39,7 +40,7 @@
"scripts": {
"start": "react-scripts start",
"start:vite": "vite",
"build": "CI=false && react-scripts build",
"build": "react-scripts build",
"build:vite": "tsc && vite build",
"preview:vite": "vite preview",
"test": "react-scripts test --transformIgnorePatterns \"node_modules/(?!axios)/\"",
Expand Down
5 changes: 2 additions & 3 deletions src/routes.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import path from 'node:path/win32'
import React from 'react'
import { createBrowserRouter, Navigate } from 'react-router-dom'
import { createHashRouter, Navigate } from 'react-router-dom'
import App from './App'
import BetArchive from './views/BetArchiveList'
import BetPage from './views/BetListPage'
import SettingsPage from './views/Settings'

const router = createBrowserRouter([
const router = createHashRouter([
{
path: '/',
element: <Navigate to="list"></Navigate>,
Expand Down

0 comments on commit 0217f96

Please sign in to comment.