Import old photos and link to members

This commit is contained in:
2020-01-11 06:27:30 +00:00
parent 5091ff2977
commit 946c70d776
9 changed files with 96 additions and 25 deletions
+5 -1
View File
@@ -1,13 +1,17 @@
var siteUrl, apiUrl;
var siteUrl, apiUrl, staticUrl;
if (process.env.NODE_ENV !== 'production') {
siteUrl = 'http://spaceport.dns.t0.vc';
apiUrl = 'http://spaceport-api.dns.t0.vc';
staticUrl = 'http://spaceport-static.dns.t0.vc';
} else {
siteUrl = 'https://' + window.location.hostname;
apiUrl = 'https://api.' + window.location.hostname;
staticUrl = 'https://static.' + window.location.hostname;
}
export { siteUrl, apiUrl, staticUrl };
export const requester = (route, method, token, data) => {
let options = {headers: {}};