Skip to content
Snippets Groups Projects
Forked from funkwhale / funkwhale
8012 commits behind the upstream repository.
config.js 243 B
class Config {
  constructor () {
    this.BACKEND_URL = process.env.BACKEND_URL
    if (!this.BACKEND_URL.endsWith('/')) {
      this.BACKEND_URL += '/'
    }
    this.API_URL = this.BACKEND_URL + 'api/v1/'
  }
}

export default new Config()