Skip to content

Commit a77d8f6

Browse files
committed
nvmrc
1 parent c64d7e3 commit a77d8f6

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v8.9.0

src/stores/auth.store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const http = require('../lib/http')
22
const sleep = require('../lib/sleep')
33
const Notifications = require('../components/notifications')
44

5-
const LOCAL_URL = 'https://localhost:5823'
5+
const LOCAL_URL = process.env.API_URL || 'https://localhost:5823'
66
const ACCESS_TOKEN_KEY = 'vibedrive::access_token'
77
const REFRESH_TOKEN_KEY = 'vibedrive::refresh_token'
88
const USAGE_URL = LOCAL_URL + '/account/usage'

src/stores/file.store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var { uploadSmallFile, uploadLargeFile } = require('../lib/upload')
55
var multihash = require('../lib/multihash')
66
var Notifications = require('../components/Notifications')
77

8-
const LOCAL_URL = 'https://localhost:5823'
8+
const LOCAL_URL = process.env.API_URL || 'https://localhost:5823'
99
const FIVE_MB = 5 * 1000 * 1000
1010
const PART_SIZE = FIVE_MB
1111

src/stores/track.store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const PouchDB = require('pouchdb')
22
const DB_PREFIX = 'vibedrive::'
3-
const REMOTE_URL = 'localhost:5823/userdb'
3+
const REMOTE_URL = (process.env.API_URL || 'localhost:5823') + '/userdb'
44

55
var pouch, remote
66

0 commit comments

Comments
 (0)