Skip to content

Commit ec9d6ef

Browse files
committed
Fixed router path
1 parent 2750c49 commit ec9d6ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Eplant/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import Eplant from './Eplant'
2222
import './css/index.css'
2323
const router = createBrowserRouter([
2424
{
25-
path: process.env.BASE_URL ?? '/',
25+
path: import.meta.env.BASE_URL ?? '/',
2626
element: <Eplant />,
2727
children: [
2828
{

0 commit comments

Comments
 (0)