Skip to content
Permalink
Browse files

change var

  • Loading branch information...
ookimaki committed Jul 24, 2019
1 parent f1ea3d7 commit 7c232bd0fdfc4506c2a87acc3e6d0cc202fef97e
Showing with 7 additions and 5 deletions.
  1. +3 −1 .gitignore
  2. +2 −2 example/nuxt.config.ts
  3. +2 −2 example/plugins/initialize.ts
@@ -87,4 +87,6 @@ sw.*
# Mac OSX
.DS_Store

public
public

.firebase
@@ -4,8 +4,8 @@ const nuxtConfig: NuxtConfiguration = {
mode: 'spa',

env: {
NETWORK_ID: process.env.NETWORK_ID || '4',
RELAYER: process.env.RELAYER || 'https://relayer.ookimaki.com/v2/',
NETWORK_ID: process.env.NETWORK_ID || '1',
RELAYER: process.env.RELAYER || 'https://mainnet.ookimaki.com/v2/',
},
/*
** Headers of the page
@@ -26,8 +26,8 @@ export default async function({ store, isServer }, inject) {
4: 'https://rinkeby.infura.io/'
}

const NETWORK_ID = Number(process.env.NETWORK_ID) || 4
const RELAYER = process.env.RELAYER || 'https://relayer.ookimaki.com/v2/'
const NETWORK_ID = Number(process.env.NETWORK_ID) || 1
const RELAYER = process.env.RELAYER || 'https://mainnet.ookimaki.com/v2/'

const web3 = (window as any).web3
const ethereum = (window as any).ethereum

0 comments on commit 7c232bd

Please sign in to comment.
You can’t perform that action at this time.