Accidentally overwrote application.hbs || Enter safe mode

So… I was playing around with outlets and after not being able to render my html into one I put the
This was on the edit html/css-> /head of a theme-component.

<script type='text/x-handlebars' data-template-name='application>
  <div class="test-div">
  </div>
</script>

So now my app is empty. Can I visit admin settings from somewhere else to disable the plugin?

1 Like

You can get into safe mode to disable all 3rd party plugins and themes.

Just visit discourse.example.com/safe-mode

7 Likes

Missed the docs :sweat_smile:

Exactly what I was looking for, thanks!

2 Likes

Any idea why data-teplate-name='/connectors/above-main-outlet' is not working?

I tried other plugin outlets as well like /connectors/some-outlet-name but wasn’t able to render anything on the page yet.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.