简体   繁体   中英

How do I delete application.js from Heroku?

I need to debug some Javascript in a RoR application running on Heroku. Earlier, I precompiled the assets into a single application.js file and try as I might I cannot remove that file (or perhaps I don't really know how to disable the precompile). How can I delete application.js on Heroku so I can either debug or determine whether my precompile is still enabled?

In production, Rails precompiles these files to public/assets by default. The precompiled copies are then served as static assets by the web server. The files in app/assets are never served directly in production.

From the Heroku manual.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM