Skip to content

A platform for community discussion. Free, open, simple.

DEV: Add hint about Rails-generated `<head>` to ember-cli HTML (#19181)

David Tayloraac3f15236d6
diff --git a/app/assets/javascripts/discourse/app/index.html b/app/assets/javascripts/discourse/app/index.html
index d0b347c7d97..1014dd1de7b 100644
--- a/app/assets/javascripts/discourse/app/index.html
+++ b/app/assets/javascripts/discourse/app/index.html
@@ -2,6 +2,12 @@
<bootstrap-content key="html-tag">
<head>
+ <!--
+ 👋 Greetings Discourse Developer. This HTML was generated by the ember-cli proxy. If you're looking for
+ <head> content generated by Rails, you'll need to start the server with `ALLOW_EMBER_CLI_PROXY_BYPASS=1`
+ and then visit the Rails port (e.g. `localhost:3000`) directly. Be sure to keep ember-cli running so
+ that JS assets continue to be re-compiled when changes are made.
+ -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Discourse - Ember CLI</title>