-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
nuxt.config.ts
65 lines (60 loc) · 1.43 KB
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
const baseUrl = 'https://www.albionstatus.com'
export default defineNuxtConfig({
runtimeConfig: {
public: {
baseUrl
},
},
app: {
head: {
noscript: [{ innerHTML: 'This website requires JavaScript.' }],
},
},
nitro: {
prerender: {
routes: [
'/404.html',
],
},
devProxy: {
'/api/status/': {
target: 'https://api-new.albionstatus.com/',
prependPath: false,
changeOrigin: true,
},
},
},
modules: [
['@nuxtjs/google-adsense', {
id: 'ca-pub-2368867988038528',
}],
'@kevinmarrec/nuxt-pwa',
'@nuxt/content',
'@nuxtjs/tailwindcss',
'@vueuse/nuxt',
'@nuxtjs/plausible',
],
plausible: {
domain: 'albionstatus.com',
apiHost: 'https://plausible.lichter.io',
},
pwa: {
meta: {
name: 'AlbionStatus - Albion Online server status',
author: 'Developmint',
description: 'AlbionStatus is the only reliable Albion Online server status tracker. Find out if Albion is down'
+ ' in a splitsecond, no matter if the downtime is caused by the daily maintenance or an outage.',
ogSiteName: 'AlbionStatus',
ogHost: 'https://albionstatus.com',
twitterSite: '@AlbionStatus',
twitterCard: 'summary',
},
manifest: {
lang: 'en',
short_name: 'AlbionStatus',
start_url: '/',
display: 'standalone',
background_color: '#FFFFFF',
},
},
})