fix: replaces app on dev with app on xyz

This commit is contained in:
Dimitrie Stefanescu
2021-04-30 10:08:43 +01:00
parent 559a11172a
commit 8fc6023278
4 changed files with 14 additions and 8 deletions
+7 -4
View File
@@ -1,4 +1,7 @@
VUE_APP_SPECKLE_ID=720cce4c99
VUE_APP_SPECKLE_SECRET=d26ea2c5c0
VUE_APP_SERVER_URL=https://latest.speckle.dev
VUE_APP_SPECKLE_NAME=SpeckleDemo
# Replace these with the app id and app secret that you get once registering
# an application on the Speckle Server!
VUE_APP_SPECKLE_ID=c2c12aaad2
VUE_APP_SPECKLE_SECRET=3b4109dc32
# Make sure you change this to use the server of your choice!
VUE_APP_SERVER_URL=https://speckle.xyz
VUE_APP_SPECKLE_NAME="Speckle Demo App"
+1 -1
View File
@@ -15,7 +15,7 @@
width="40"
height="24"
/>
<h3>SPECKLE DEMO APP</h3>
<h3>Speckle Demo App</h3>
</div>
<v-spacer></v-spacer>
+5 -2
View File
@@ -1,7 +1,10 @@
<template lang="html">
<v-container fill-height fluid class="home flex-column justify-center align-center primary--text">
<v-container fill-height class="home flex-column justify-center align-center primary--text">
<h1>Welcome to the Speckle Demo App!</h1>
<h3>This app part of our developer guides</h3>
<h3>This app part of our developer guide on how to create your very own Speckle App.</h3>
<v-alert type="info" text color="primary" class="my-5 dark">
Check out <a href="https://speckle.guide/dev/apps" target="_blank">the tutorial</a>!
</v-alert>
<p>Please log in to access you Speckle data.</p>
</v-container>
</template>
+1 -1
View File
@@ -1,6 +1,6 @@
import {streamCommitsQuery, streamSearchQuery, userInfoQuery} from "@/speckleQueries";
export const APP_NAME = process.env.VUE_APP_SPECKLE_NAME //VUE_APP_SPECKLE_ID
export const APP_NAME = process.env.VUE_APP_SPECKLE_NAME
export const SERVER_URL = process.env.VUE_APP_SERVER_URL
export const TOKEN = `${APP_NAME}.AuthToken`
export const REFRESH_TOKEN = `${APP_NAME}.RefreshToken`