Skip to content

Commit

Permalink
Update: Fuck the KEY
Browse files Browse the repository at this point in the history
Signed-off-by: Shanshui2024 <[email protected]>
  • Loading branch information
Shanshui2024 committed Jul 31, 2024
1 parent 0b14aa9 commit 0412a16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ VITE_DESC_TEXT_OTHER = "哎呀,这都被你发现了( 再点击一次可关
## 请注意不是 Web端 (JS API),免费申请,每日上限 5000 次
## 此处提供的服务可能会超量从而无法访问,请自行申请!请自行申请!请自行申请!
## 若此处设为空则调用 教书先生 API https://api.oioweb.cn/doc/weather/GetWeather
# VITE_WEATHER_KEY = ${WEATHER_KEY}
VITE_WEATHER_KEY = "fec9853791bbcaa68d41a6d8ae6ee112"

# 建站日期
## 若不需要,请设为空即可
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ jobs:
cache: npm # 或 pnpm / yarn
- name: 创建 Pages
uses: actions/configure-pages@v4
- name: 处理变量
run: |
echo "VITE_WEATHER_KEY=${{ secrets.WEATHER_KEY }}" >> .env
- name: 安装依赖
run: npm install # 或 pnpm install / yarn install / bun install
- name: 使用 npm 构建
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ VITE_SITE_ICPMOE = "00000000"

同时,我们也对配置文件中的`VITE_WEATHER_KEY`进行了调整,您需要手动跳转至[高德开放平台控制台](https://console.amap.com/dev/index)申请网页端KEY而不是白嫖

*算了你们谁爱用谁用去,回头给我KEY整没了老子就不干了*

env文件中配置的`VITE_SONG_API`各位随时可以使用,如果域名已到期请尝试自己配置或转回`https://api-meting.imsyy.top/api`

> 以下是上游项目的配置内容
Expand Down

0 comments on commit 0412a16

Please sign in to comment.