Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.
/ pageproxy Public archive

page proxy, dynamic inject context for spa. inject context to page.

Notifications You must be signed in to change notification settings

Innei/pageproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pageproxy

前端页面后端代理模式, 前端页面不在直接被客户端访问, 而是通过后端代理, 好处是可以在浏览器渲染之前就能获取到一些注入的数据. 也开始用线上的环境调本地的接口. 再或者是登陆鉴权不再需要前端访问后端接口鉴权再跳转, 而是直接第 0 跳就能到达登录页.

pnpm run dev

http://localhost:2323/?__apiUrl=false&__debug=http://localhost:3000

About

page proxy, dynamic inject context for spa. inject context to page.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published