mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-12 22:09:07 +02:00
Fix type
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
GOOGLE_CLIENT_ID=""
|
||||
GOOGLE_CLIENT_SECRET=""
|
||||
GOOGLE_CALLBACK_URI="http://localhost:5173/login/google/callback"
|
||||
MEMEGRAPH_URI="bolt://localhost:7687"
|
||||
MEMGRAPH_URI="bolt://localhost:7687"
|
||||
MEMGRAPH_USER="memgraph"
|
||||
MEMGRAPH_PASSWORD="memgraph"
|
@@ -1,9 +1,9 @@
|
||||
import memgraph from 'neo4j-driver';
|
||||
import type { Driver } from 'neo4j-driver';
|
||||
import { MEMEGRAPH_URI, MEMGRAPH_USER, MEMGRAPH_PASSWORD } from '$env/static/private';
|
||||
import { MEMGRAPH_URI, MEMGRAPH_USER, MEMGRAPH_PASSWORD } from '$env/static/private';
|
||||
|
||||
export const driverInstance: Driver = memgraph.driver(
|
||||
MEMEGRAPH_URI || 'bolt://localhost:7687',
|
||||
export const DB: Driver = memgraph.driver(
|
||||
MEMGRAPH_URI || 'bolt://localhost:7687',
|
||||
memgraph.auth.basic(
|
||||
MEMGRAPH_USER || 'memgraph',
|
||||
MEMGRAPH_PASSWORD || 'memgraph'
|
||||
|
Reference in New Issue
Block a user