Make mobile menu behavior more consistent, and stats styles responsive (#391)

This commit is contained in:
InfiniteTF
2020-03-08 02:55:42 +01:00
committed by GitHub
parent cb594f0e43
commit b3fab3cfef
15 changed files with 135 additions and 49 deletions

View File

@@ -11,7 +11,7 @@ export class StashService {
public static client: ApolloClient<NormalizedCacheObject>;
private static cache: InMemoryCache;
public static getPlatformURL(ws? : boolean) {
public static getPlatformURL(ws?: boolean) {
const platformUrl = new URL(window.location.origin);
if (!process.env.NODE_ENV || process.env.NODE_ENV === "development") {
@@ -36,7 +36,7 @@ export class StashService {
if (platformUrl.protocol === "https:") {
wsPlatformUrl.protocol = "wss:";
}
const url = `${platformUrl.toString().slice(0, -1)}/graphql`;
const wsUrl = `${wsPlatformUrl.toString().slice(0, -1)}/graphql`;