我有一个网页的网站只使用超文本标记语言,CSS和JavaScript。我想将应用程序部署到Heroku,但我找不到方法。我现在正在尝试让这个应用程序与Sinatra一起工作。
.
|-- application.css
|-- application.js
|-- index.html
|-- jquery.js
`-- myapp.rb
下面是myapp.rb
的内容。
require 'rubygems'
require 'sinatra'
get "/" do
# What should I write here to point to the `index.html`
end
https://stackoverflow.com/questions/2437390
复制相似问题