Compare commits

...
This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.

2 Commits

Author SHA1 Message Date
Karol Wypchlo 75724705cd
Merge remote-tracking branch 'origin/master' into dashboard-v2-stripe-test 2022-05-04 16:49:24 +02:00
Michał Leszczyk a71de44276
testing on dev3 2022-04-15 23:16:43 +02:00
3 changed files with 9 additions and 6 deletions

View File

@ -21,8 +21,8 @@ services:
accounts: accounts:
# uncomment "build" and comment out "image" to build from sources # uncomment "build" and comment out "image" to build from sources
# build: https://github.com/SkynetLabs/skynet-accounts.git#main build: https://github.com/SkynetLabs/skynet-accounts.git#main
image: skynetlabs/skynet-accounts # image: skynetlabs/skynet-accounts
container_name: accounts container_name: accounts
restart: unless-stopped restart: unless-stopped
logging: *default-logging logging: *default-logging

View File

@ -4,9 +4,9 @@ include /etc/nginx/conf.d/include/ssl-settings;
include /etc/nginx/conf.d/include/init-optional-variables; include /etc/nginx/conf.d/include/init-optional-variables;
# Uncomment to launch new Dashboard under /v2 path # Uncomment to launch new Dashboard under /v2 path
# location /v2 { location /v2 {
# proxy_pass http://dashboard-v2:9000; proxy_pass http://dashboard-v2:9000;
# } }
location / { location / {
proxy_pass http://dashboard:3000; proxy_pass http://dashboard:3000;

View File

@ -1,3 +1,6 @@
import { SkynetClient } from "skynet-js"; import { SkynetClient } from "skynet-js";
export default new SkynetClient(`https://${process.env.GATSBY_PORTAL_DOMAIN}`); // In production-like environment, let SkynetClient figure out the best portal
export default new SkynetClient(
process.env.NODE_ENV === "development" ? `https://${process.env.GATSBY_PORTAL_DOMAIN}` : undefined
);