mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4544] [Feature Request] 网页中的API接口如何代理 #3592
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3592
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xushaun on GitHub (Nov 19, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4544
Describe the feature request
公司内部服务器(内网ip为 192.168.1.100):
ps:我想把8082端口的服务也暴露出去,但是也没用,因为网页的接口请求地址是写死的http://192.168.1.100:8082、
Describe alternatives you've considered
No response
Affected area
@wuai1024 commented on GitHub (Nov 19, 2024):
你都说了,网页的请求地址写死了还玩啥啊。 vue不是这样玩的,去看下 vue 的官网 路由相关的那一块。你就知道怎么改了
@xushaun commented on GitHub (Nov 20, 2024):
网页的API请求都是具体的ip地址或者域名,一般都写死的。vue路由说的是页面的地址,我这边说的请求是数据的请求,和路由没多大关系,如果您能提供更具体的说明,万分感谢
@wuai1024 commented on GitHub (Nov 20, 2024):
proxy
@fatedier commented on GitHub (Nov 20, 2024):
像上面说的,这个属于是前端方面的问题,和 frp 自身无关,建议遵循常规的网站设计实现。