Comments (3)
UPSTASH_REDIS_REST_URL
和 JWT_SECRET
是环境变量,可以参考文档的 环境变量 来查看如何设置。
UPSTASH_REDIS_REST_URL
是因为博客用 Upstash 提供的 Redis 数据库作为缓存服务,来降低用户打开博客所需要的加载时间。
JWT_SECRET
则是用户登入博客时需要用来签发 token 的密钥。
from umi-blog-example.
JWT_SECRET
可以是任何值,你也可以用 密码产生器 生成一个高强度密钥作为 JWT_SECRET
from umi-blog-example.
JWT_SECRET
可以是任何值,你也可以用 密码产生器 生成一个高强度密钥作为JWT_SECRET
好的,非常感谢。
from umi-blog-example.
Related Issues (14)
- 能否提供数据库呢方便搭建 HOT 13
- 执行 npx prisma migrate dev --name init 报错 HOT 3
- Serverless Functions不成功 HOT 2
- [Question] 目前就一个 Blog 的教程,能否提供更详细的文档呢? HOT 1
- Serverless Function 如何部署到其他服务器上呢
- 怎么改请求里的response headers里的contentType为application/json
- 示例博客首页无法加载? HOT 9
- @/utils/jwt 包未找到 HOT 2
- api请求报错了,日志从哪看? HOT 2
- Error: Unable to find environment variable: `UPSTASH_REDIS_REST_URL` HOT 1
- ReferenceError: fetch is not defined HOT 6
- Vercel部署完不能访问
- 建议教程在“用户注册”前,添加对“@”的配置这一步 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from umi-blog-example.