merge with upsteam 85d1b5d057

This commit is contained in:
sevichecc 2023-01-26 00:05:50 +08:00
parent fd675ffba6
commit cccd540138
Signed by untrusted user who does not match committer: SevicheCC
GPG key ID: C577000000000000
2 changed files with 2 additions and 1 deletions

1
src/app.d.ts vendored
View file

@ -3,6 +3,7 @@
import { FFFBase, FFFExtra } from 'fff-flavored-frontmatter' import { FFFBase, FFFExtra } from 'fff-flavored-frontmatter'
interface ImportMetaEnv extends Readonly<Record<string, string>> { interface ImportMetaEnv extends Readonly<Record<string, string>> {
readonly URARA_SITE_PROTOCOL?: 'http://' | 'https://'
readonly URARA_SITE_DOMAIN?: string readonly URARA_SITE_DOMAIN?: string
} }

View file

@ -1,7 +1,7 @@
import type { SiteConfig } from '$lib/types/site' import type { SiteConfig } from '$lib/types/site'
export const site: SiteConfig = { export const site: SiteConfig = {
protocol: 'https://', protocol: import.meta.env.URARA_SITE_PROTOCOL ?? 'https://',
domain: 'seviche.cc', domain: 'seviche.cc',
title: 'Seviche.cc', title: 'Seviche.cc',
subtitle: 'Tech / Code / Random Life', subtitle: 'Tech / Code / Random Life',