This commit is contained in:
2021-05-02 12:31:32 +02:00
parent 802886fc08
commit 67d29dab2e
7 changed files with 19 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
import axios from 'axios'
import { dev } from '$app/env'
const base = axios.create({ baseURL: 'http://localhost:5000' })
const base = axios.create({ baseURL: dev ? 'http://localhost:5000' : undefined })
export type Note = {
contents: string