mirror of https://github.com/rocboss/paopao-ce
pull/151/head
parent
ec3a97d512
commit
7cc9eb96be
@ -1 +1,13 @@
|
|||||||
VITE_HOST="https://api.paopao.info"
|
VITE_HOST="https://api.paopao.info"
|
||||||
|
|
||||||
|
# 模块开启
|
||||||
|
VITE_ENABLE_WALLET=true
|
||||||
|
|
||||||
|
# 功能开启
|
||||||
|
VITE_ALLOW_TWEET_ATTACHMENT=true
|
||||||
|
VITE_ALLOW_TWEET_ATTACHMENT_PRICE=true
|
||||||
|
VITE_ALLOW_TWEET_VIDEO=true
|
||||||
|
VITE_ALLOW_TWEET_VISIBILITY=true
|
||||||
|
|
||||||
|
# 局部参数
|
||||||
|
VITE_DEFAULT_TWEET_VISIBILITY=public
|
||||||
|
@ -1,4 +1,18 @@
|
|||||||
/// <reference types="vite/client" />
|
/// <reference types="vite/client" />
|
||||||
/// <reference types="vue/ref-macros" />
|
/// <reference types="vue/ref-macros" />
|
||||||
/// <reference types="naive-ui/volar" />
|
/// <reference types="naive-ui/volar" />
|
||||||
/// <reference types="@types/qrcode" />
|
/// <reference types="@types/qrcode" />
|
||||||
|
|
||||||
|
interface ImportMetaEnv {
|
||||||
|
readonly VITE_HOST: string
|
||||||
|
readonly VITE_ENABLE_WALLET: string
|
||||||
|
readonly VITE_ALLOW_TWEET_ATTACHMENT: string
|
||||||
|
readonly VITE_ALLOW_TWEET_ATTACHMENT_PRICE: string
|
||||||
|
readonly VITE_ALLOW_TWEET_VIDEO: string
|
||||||
|
readonly VITE_ALLOW_TWEET_VISIBILITY: string
|
||||||
|
readonly VITE_DEFAULT_TWEET_VISIBILITY: string
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ImportMeta {
|
||||||
|
readonly env: ImportMetaEnv
|
||||||
|
}
|
Loading…
Reference in new issue