Skip to content

Commit

Permalink
Change staging.wazimap-ng.openup.org.za to staging-api.wazimap.com
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmwatson committed Nov 8, 2024
1 parent 2e79cab commit 3241a6c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/js/dev-tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async function getProfileData(profileUrl) {
export async function install() {
let data = []
let profileUrl = 'https://api.wazimap.com/api/v1/profiles';
let stagingProfileUrl = 'https://staging.wazimap-ng.openup.org.za/api/v1/profiles';
let stagingProfileUrl = 'https://staging-api.wazimap.com/api/v1/profiles';
data = data.concat(await getProfileData(profileUrl))
data = data.concat(await getProfileData(stagingProfileUrl))
const devtools = new DevTools({
Expand Down
2 changes: 1 addition & 1 deletion src/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import * as Sentry from '@sentry/browser';
import {getHostname, getAPIUrl, loadDevTools} from './utils';
import {ErrorNotifier} from "./error-notifier";

const mainUrl = getAPIUrl('https://staging.wazimap-ng.openup.org.za');
const mainUrl = getAPIUrl('https://staging-api.wazimap.com');
const productionUrl = getAPIUrl('https://api.wazimap.com');
let config = new SAConfig();

Expand Down
2 changes: 1 addition & 1 deletion src/js/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export function makeServer({environment = "development"} = {}) {
//API needs to send the data for the children of the current geo only.

routes() {
this.urlPrefix = 'https://staging.wazimap-ng.openup.org.za/';
this.urlPrefix = 'https://staging-api.wazimap.com/';
this.namespace = "api/v1";
this.timing = 750;

Expand Down
2 changes: 1 addition & 1 deletion src/js/tabular_comparison/tabular-comparison.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const TabularComparison = (props) => {
const [render, setRender] = useState(true);
const [defaultVersionName, setDefaultVersionName] = useState(null);

const mainUrl = getAPIUrl('https://staging.wazimap-ng.openup.org.za');
const mainUrl = getAPIUrl('https://staging-api.wazimap.com');
const productionUrl = getAPIUrl('https://api.wazimap.com');
const defaultProfile = 8;
const defaultUrl = productionUrl;
Expand Down

0 comments on commit 3241a6c

Please sign in to comment.