mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-04-30 18:59:31 +08:00
merge with upsteam 85d1b5d057
This commit is contained in:
parent
fd675ffba6
commit
cccd540138
2 changed files with 2 additions and 1 deletions
1
src/app.d.ts
vendored
1
src/app.d.ts
vendored
|
@ -3,6 +3,7 @@
|
|||
import { FFFBase, FFFExtra } from 'fff-flavored-frontmatter'
|
||||
|
||||
interface ImportMetaEnv extends Readonly<Record<string, string>> {
|
||||
readonly URARA_SITE_PROTOCOL?: 'http://' | 'https://'
|
||||
readonly URARA_SITE_DOMAIN?: string
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import type { SiteConfig } from '$lib/types/site'
|
||||
|
||||
export const site: SiteConfig = {
|
||||
protocol: 'https://',
|
||||
protocol: import.meta.env.URARA_SITE_PROTOCOL ?? 'https://',
|
||||
domain: 'seviche.cc',
|
||||
title: 'Seviche.cc',
|
||||
subtitle: 'Tech / Code / Random Life',
|
||||
|
|
Loading…
Reference in a new issue