mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 05:05:15 +08:00
DEV: debug: false for service workers to stop log spam via workbox (#12093)
This commit is contained in:
parent
9f0f801ae3
commit
0cba1fafe4
|
@ -4,7 +4,7 @@ importScripts("<%= "#{Discourse.asset_host}#{Discourse.base_path}/javascripts/wo
|
||||||
|
|
||||||
workbox.setConfig({
|
workbox.setConfig({
|
||||||
modulePathPrefix: "<%= "#{Discourse.asset_host}#{Discourse.base_path}/javascripts/workbox" %>",
|
modulePathPrefix: "<%= "#{Discourse.asset_host}#{Discourse.base_path}/javascripts/workbox" %>",
|
||||||
debug: <%= Rails.env.development? %>
|
debug: false
|
||||||
});
|
});
|
||||||
|
|
||||||
var authUrl = "<%= Discourse.base_path %>/auth/";
|
var authUrl = "<%= Discourse.base_path %>/auth/";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user