Skip to content

Commit

Permalink
chore: remove /invite route preparatory to launch
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jan 11, 2023
1 parent 3f9e39d commit 3a66944
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 84 deletions.
4 changes: 0 additions & 4 deletions modules/tauri/runtime/nitro.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
toNodeListener,
} from 'h3'
import { createFetch } from 'ofetch'
import { parseURL } from 'ufo'
import {
createCall,
createFetch as createLocalFetch,
Expand All @@ -26,13 +25,10 @@ const handlers = [
},
]

const { protocol, host } = parseURL(window.location.href)

// @ts-expect-error undeclared global window property
window.__NUXT__.config = {
// @ts-expect-error undeclared global window property
...window.__NUXT__.config,
deployUrl: `${protocol}//${host}`,
storage: {},
}

Expand Down
14 changes: 0 additions & 14 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,25 +71,11 @@ export default defineNuxtConfig({
},
},
runtimeConfig: {
deployUrl: !isCI
? 'http://localhost:5314'
: isPreview
? process.env.DEPLOY_PRIME_URL
: 'https://elk.zone',
cloudflare: {
accountId: '',
namespaceId: '',
apiToken: '',
},
discord: {
inviteUrl: 'https://chat.elk.zone',
},
github: {
// oauth flow
clientId: '',
clientSecret: '',
inviteToken: '',
},
public: {
env: '', // set in build-env module
buildInfo: {} as BuildInfo, // set in build-env module
Expand Down
66 changes: 0 additions & 66 deletions server/routes/invite.get.ts

This file was deleted.

0 comments on commit 3a66944

Please sign in to comment.