diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2024-03-16 22:54:54 -0400 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2024-03-16 22:54:54 -0400 |
| commit | 1d5f74bca29c6bb28bef6035aa09a1e35884b40a (patch) | |
| tree | 910801e8f2bf940f77438642f7a20448385d822a /src/index.tsx | |
| parent | 7c37715afd7d9572a7f1a79552a187ab2a3e4184 (diff) | |
Diffstat (limited to 'src/index.tsx')
| -rw-r--r-- | src/index.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/index.tsx b/src/index.tsx index cd8c870..a67fd94 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,3 +1,4 @@ +import 'preact/debug'; import { render } from 'preact'; import { useMemo } from 'preact/hooks'; import { Router } from 'preact-router'; @@ -7,7 +8,7 @@ import { Home, SignUp, LogIn, ProjectsList, Editor } from './pages'; import './index.css'; export const App = () => { - const pb = useMemo(() => new PocketBase(`/`), []); + const pb = useMemo(() => new PocketBase('http://localhost:8090/'), []); return ( <Pb.Provider value={pb}> <Router> |
