diff --git a/app/helpers/splash_screen_helper.rb b/app/helpers/splash_screen_helper.rb index af2ec3824d4..275c5452acd 100644 --- a/app/helpers/splash_screen_helper.rb +++ b/app/helpers/splash_screen_helper.rb @@ -19,7 +19,7 @@ module SplashScreenHelper def self.load_js File.read("#{Rails.root}/app/assets/javascripts/discourse/dist/assets/splash-screen.js").sub( - "//# sourceMappingURL=splash-screen.map\n", + "//# sourceMappingURL=splash-screen.map", "", ) rescue Errno::ENOENT