mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix hac
This commit is contained in:
1 parent
a834d48a38
commit
0e637d772e
1 file changed
+1
-7
@@ -366,12 +366,6 @@ export class ServerAPI extends AbstractAPI {
|
||||
metroResources.remote_storage!.remote_urls,
|
||||
);
|
||||
|
||||
const iconPathHack = stuffUI.icon.replace("\n", "");
|
||||
|
||||
if (!stuffUI.icon.includes("\n")) {
|
||||
throw new Error("Icon path doesn't include newline, can't apply hack");
|
||||
}
|
||||
|
||||
return `${remoteStorage.url}${remoteStorage.relative_path}${iconPathHack}`;
|
||||
return `${remoteStorage.url}${remoteStorage.relative_path}${stuffUI.icon!.value}`;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user