Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit 85a6266

Browse files
author
Brian Caffey
committed
fixed env var
1 parent e3f8fc2 commit 85a6266

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

quasar/quasar.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module.exports = function(ctx) {
6161
),
6262
WS_PING_PONG: JSON.stringify(
6363
`${process.env.WS_PROTOCOL}://${
64-
process.env.LOCAL_IP_ADDRESS
64+
process.env.DOMAIN_NAME
6565
}/ws/ping-pong/`
6666
),
6767
GITHUB_KEY: JSON.stringify(process.env.GITHUB_KEY),

quasar/src/pages/Environment.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
<template>
22
<base-page>
3-
<p v-for="(value, key) in env" :key="key">{{ key }}: {{ value }}</p>
3+
<h4>Environment Variables</h4>
4+
<div v-for="(value, key) in env" :key="key">
5+
<q-chip>{{ key }}</q-chip
6+
><q-chip text-color="white" color="teal">{{ value }}</q-chip>
7+
</div>
48
</base-page>
59
</template>
610

711
<script>
812
export default {
9-
created() {
10-
console.log(JSON.stringify(process.env));
11-
},
1213
data() {
1314
return {
1415
env: process.env

0 commit comments

Comments
 (0)