🔧 (couchdb) add env file

This commit is contained in:
Julien Calixte
2020-02-27 23:32:30 +01:00
parent d72677df6e
commit 5db9dd2d16
2 changed files with 2 additions and 1 deletions

1
.env Normal file
View File

@@ -0,0 +1 @@
VUE_APP_COUCHDB=https://juliencalixte.ddns.net/database

View File

@@ -20,7 +20,7 @@ const remoteConfig = {
}
}
const LOCALE_DB: string = 'VAQUANT_LOCALE_DB'
const REMOTE: string = 'https://juliencalixte.ddns.net/database'
const REMOTE: string = process.env.VUE_APP_COUCHDB || ''
class CouchService {
public db: PouchDB.Database | null = null