Is it possible to upload a simple html and javascript file structure to heroku?

前端 未结 10 1553
逝去的感伤
逝去的感伤 2020-12-04 06:25

I\'m trying to deploy an open source project of mine to heroku, it is by necessity very simple with just static html and javascript. But do they not support static sites?

10条回答
  •  失恋的感觉
    2020-12-04 06:54

    Well , whenever your Web-page's contain HTML, CSS and JavaScript , so follow just 2 steps :

    1) Make one file give name as index.html (keep evreything in it) ex:script,stylesheet & body.

    2) Now, change these file, copy and paste these same file but change domain to index.php

    Then deploy on a Heroku.

    Hence this method will help you to deploy your Web-Pages

提交回复
热议问题