Skip to content

Commit f416318

Browse files
Fix style URL.
1 parent f2d53cd commit f416318

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

frontend/src/sdk/shared/config.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
import { de, enUS, tr } from 'date-fns/locale';
9-
import { isDev, isFunction, isNumber, isObject, isString, isUndefined, logWarn } from './utils';
9+
import { isFunction, isNumber, isObject, isString, isUndefined, logWarn } from './utils';
1010

1111
export const SUPPORTED_LOCALES = {
1212
en: enUS,
@@ -192,10 +192,6 @@ export function buildSDKConfig(opts: SDKConfig, scriptLocation: string | null |
192192
options.styleUrl = undefined!;
193193
}
194194

195-
if (!options.styleUrl && !isDev()) {
196-
options.styleUrl = `${options.apiUrl}/build/notifo-sdk.css`;
197-
}
198-
199195
if (!isStringOption(options.serviceWorkerUrl)) {
200196
logWarn('init.serviceWorkerUrl must be a string if defined.');
201197
options.serviceWorkerUrl = undefined!;

0 commit comments

Comments
 (0)