【文件属性】:
文件名称:cocktails-web:工作正在进行中
文件大小:47KB
文件格式:ZIP
更新时间:2021-06-13 07:59:54
JavaScript
工作正在进行中
地方发展
运行 api 应用程序,如:
bundle exec rackup -p 1111
设置 nginx 虚拟主机:
server {
listen 7373;
server_name localhost;
location / {
root /users/dylan/repos/cocktails-web/;
index index.html index.htm;
}
location /api {
proxy_pass http://127.0.0.1:1111;
}
}
重新加载nginx:
sudo nginx -s reload
现在可以通过h
【文件预览】:
cocktails-web-master
----css()
--------app.css(367B)
----img()
--------tiki-bartender.svg(104KB)
--------favicon.ico(12KB)
----index.html(2KB)
----src()
--------controllers.js(2KB)
--------app.js(33B)
--------services.js(117B)
----README.md(524B)