-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit eef6b0a.
- Loading branch information
Showing
18 changed files
with
42 additions
and
2,632 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
API_URL_V1=https://api.dev.ror.org/v1 | ||
API_URL_V2=https://api.dev.ror.org/v2 | ||
API_URL=https://api.dev.ror.org | ||
SENTRY_DSN=https://1c334995f85448b1afa561c8ccf13791@sentry.io/1422597 | ||
BASE_URL=https://dev.ror.org | ||
LAUNCH_DARKLY_CLIENT_SIDE_ID=6390f62d05087a11e466bfc9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
API_URL_V1=https://api.ror.org/v1 | ||
API_URL_V2=https://api.ror.org/v2 | ||
API_URL=https://api.ror.org | ||
SENTRY_DSN=https://1c334995f85448b1afa561c8ccf13791@sentry.io/1422597 | ||
BASE_URL=https://ror.org | ||
LAUNCH_DARKLY_CLIENT_SIDE_ID=636d08a3d56cf611cc88019d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
API_URL_V1=https://api.staging.ror.org/v1 | ||
API_URL_V2=https://api.staging.ror.org/v2 | ||
API_URL=https://api.staging.ror.org | ||
SENTRY_DSN=https://1c334995f85448b1afa561c8ccf13791@sentry.io/1422597 | ||
BASE_URL=https://staging.ror.org | ||
LAUNCH_DARKLY_CLIENT_SIDE_ID=636d08a3d56cf611cc88019c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,6 @@ | ||
import DS from 'ember-data'; | ||
import ENV from 'ror-app/config/environment'; | ||
import { inject as service } from '@ember/service'; | ||
import { computed } from '@ember/object'; | ||
|
||
export default DS.JSONAPIAdapter.extend({ | ||
launchDarkly: service(), | ||
host: computed('launchDarkly.variation', function() { | ||
return this.launchDarkly.variation('v2_ui') ? ENV.API_URL_V2 : ENV.API_URL_V1; | ||
}), | ||
host: ENV.API_URL | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
import Route from '@ember/routing/route'; | ||
|
||
export default Route.extend({ | ||
beforeModel(){ | ||
let user = { | ||
key: 'user-key-123abc', | ||
anonymous: true | ||
}; | ||
return this.launchDarkly.initialize(user); | ||
} | ||
|
||
}); |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.