Giter Site home page Giter Site logo

配置后端域名 about ai-beehive HOT 11 CLOSED

hncboy avatar hncboy commented on August 27, 2024
配置后端域名

from ai-beehive.

Comments (11)

hncboy avatar hncboy commented on August 27, 2024

这是 vercel 部署的方式,没弄错吧

from ai-beehive.

maozhongsheng avatar maozhongsheng commented on August 27, 2024

这是 vercel 部分的方式,没有弄错吧

因为我这边不是太会前端,如果我需要打包部署到服务器上面,如何修改访问后端的域名呢

from ai-beehive.

hncboy avatar hncboy commented on August 27, 2024

nginx

from ai-beehive.

lovewe avatar lovewe commented on August 27, 2024

这是 vercel 部分的方式,没有弄错吧

因为我这边不是太会前端,如果我需要打包部署到服务器上面,如何修改访问后端的域名呢

请问你弄好了吗?

from ai-beehive.

maozhongsheng avatar maozhongsheng commented on August 27, 2024

nginx

nginx 我配置好了前端和后端域名,我的意思是我如何在这套代码里面配置我nginx配置的后端域名不然访问不到

from ai-beehive.

hncboy avatar hncboy commented on August 27, 2024

nginx

nginx 我配置好了前端和后端域名,我的意思是我如何在这套代码里面配置我nginx配置的后端域名不然访问不到

nginx 就被配下 shuowen 和 jiezi 的 api 接口 和 api/admin 接口i代理。

from ai-beehive.

maozhongsheng avatar maozhongsheng commented on August 27, 2024

nginx

nginx 我配置好了前端和后端域名,我的意思是我如何在这套代码里面配置我nginx配置的后端域名不然访问不到

nginx 就被配下 shuowen 和 jiezi 的 api 接口 和 api/admin 接口i代理。

这些接口和前端域名我都代理好了,我现在的问题是在vue代码中如何绑定已经代理好的后端域名在vue代码的哪里设置

from ai-beehive.

hncboy avatar hncboy commented on August 27, 2024

nginx

nginx 我配置好了前端和后端域名,我的意思是我如何在这套代码里面配置我nginx配置的后端域名不然访问不到

nginx 就被配下 shuowen 和 jiezi 的 api 接口 和 api/admin 接口i代理。

这些接口和前端域名我都代理好了,我现在的问题是在vue代码中如何绑定已经代理好的后端域名在vue代码的哪里设置

vue 代码都不需要动,nginx 配好就行了。

from ai-beehive.

maozhongsheng avatar maozhongsheng commented on August 27, 2024

nginx

nginx 我配置好了前端和后端域名,我的意思是我如何在这套代码里面配置我nginx配置的后端域名不然访问不到

nginx 就被配下 shuowen 和 jiezi 的 api 接口 和 api/admin 接口i代理。

这些接口和前端域名我都代理好了,我现在的问题是在vue代码中如何绑定已经代理好的后端域名在vue代码的哪里设置

vue 代码都不需要动,nginx 配好就行了。

好的我试下

from ai-beehive.

nianhua99 avatar nianhua99 commented on August 27, 2024

楼主配好了吗,可以看下nginx配置吗

from ai-beehive.

hncboy avatar hncboy commented on August 27, 2024

楼主配好了吗,可以看下nginx配置吗

#71

from ai-beehive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.