We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5983af commit e14a531Copy full SHA for e14a531
htmlpreview.js
@@ -52,8 +52,7 @@
52
const getServiceBase = function () {
53
if (window.location) {
54
const loc = window.location;
55
- const serviceBase = loc.origin + loc.pathname;
56
- return serviceBase;
+ return loc.origin + loc.pathname;
57
}
58
// Fallback value
59
// eslint-disable-next-line @stylistic/js/max-len
0 commit comments