File tree Expand file tree Collapse file tree 3 files changed +5
-15
lines changed Expand file tree Collapse file tree 3 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,6 @@ FROM node:22-alpine as builder
2
2
3
3
ENV DEBIAN_FRONTEND noninteractive
4
4
5
- ENV REACT_APP_PAGE_SIZE: "25"
6
- ENV REACT_APP_OVERPASS_BASE: "//overpass-api.openhistoricalmap.org/api/interpreter"
7
- ENV REACT_APP_MAPBOX_ACCESS_TOKEN: "pk.eyJ1Ijoib3Blbmhpc3RvcmljYWxtYXAiLCJhIjoiY202a3ZqcHN1MDJnYzJpcHhlczVqbXBuNiJ9.DvNrZEF1ISEluA9k-MSHtA"
8
- ENV REACT_APP_OSM_URL: "https://www.openhistoricalmap.org"
9
- ENV REACT_APP_OSM_API: "https://api.openhistoricalmap.org/api/0.6"
10
- ENV REACT_APP_NOMINATIM_URL: "https://nominatim-api.openhistoricalmap.org/search.php"
11
- ENV REACT_APP_DEFAULT_FROM_DATE: "2"
12
- ENV REACT_APP_DEFAULT_TO_DATE: "5"
13
- ENV REACT_APP_DISABLE_REAL_CHANGESETS: "false"
14
-
15
5
ARG BUILD_ENV=prod
16
6
17
7
WORKDIR /app
Original file line number Diff line number Diff line change @@ -4,14 +4,13 @@ import { API_URL } from './';
4
4
export const PAGE_SIZE = process . env . REACT_APP_PAGE_SIZE || 25 ;
5
5
export const overpassBase =
6
6
process . env . REACT_APP_OVERPASS_BASE ||
7
- '//overpass.osmcha .org/api/interpreter' ;
7
+ '//overpass-api.openhistoricalmap .org/api/interpreter' ;
8
8
export const mapboxAccessToken =
9
9
process . env . REACT_APP_MAPBOX_ACCESS_TOKEN ||
10
- 'pk.eyJ1Ijoib3BlbnN0cmVldG1hcCIsImEiOiJjam10OXpmc2YwMXI5M3BqeTRiMDBqMHVyIn0.LIcIDe3TZLSDdTWDoojzNg ' ;
10
+ 'k.eyJ1Ijoib3Blbmhpc3RvcmljYWxtYXAiLCJhIjoiY202a3ZqcHN1MDJnYzJpcHhlczVqbXBuNiJ9.DvNrZEF1ISEluA9k-MSHtA ' ;
11
11
export const statusUrl =
12
12
'https://raw.githubusercontent.com/osmcha/osmcha-frontend/status/status.json' ;
13
- export const enableRealChangesets = ! process . env
14
- . REACT_APP_DISABLE_REAL_CHANGESETS ;
13
+ export const enableRealChangesets = false ;
15
14
16
15
export const osmchaSocialTokenUrl = `${ API_URL } /social-auth/` ;
17
16
export const osmchaUrl = API_URL . replace ( 'api/v1' , '' ) ;
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ export const stack = process.env.REACT_APP_STACK;
9
9
export const appVersion = version ;
10
10
11
11
let url =
12
- process . env . REACT_APP_PRODUCTION_API_URL || 'https://osmcha.org/api/v1' ;
12
+ process . env . REACT_APP_PRODUCTION_API_URL ||
13
+ 'https://osmcha.dev.staging.openhistoricalmap.org/api/v1' ;
13
14
14
15
window . debug_info = ( ) =>
15
16
`isDev=${ isDev . toString ( ) } isStaging=${ isStaging . toString ( ) } isProd=${ isProd . toString ( ) } isLocal=${ isLocal . toString ( ) } stack=${ stack ||
You can’t perform that action at this time.
0 commit comments