diff options
author | syeyoung <42869671+cyoung06@users.noreply.github.com> | 2020-12-09 12:06:46 +0900 |
---|---|---|
committer | syeyoung <42869671+cyoung06@users.noreply.github.com> | 2020-12-09 12:06:46 +0900 |
commit | 8f8fd536fa34fee9a941408b05e5d55c6d6e77f6 (patch) | |
tree | ac317c33b8dad6357605bc5ae0060983e59f66d5 /src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuideMain.java | |
parent | 51284d9aca25fb1f892985e41cf5d9742df4a476 (diff) | |
download | Skyblock-Dungeons-Guide-8f8fd536fa34fee9a941408b05e5d55c6d6e77f6.tar.gz Skyblock-Dungeons-Guide-8f8fd536fa34fee9a941408b05e5d55c6d6e77f6.tar.bz2 Skyblock-Dungeons-Guide-8f8fd536fa34fee9a941408b05e5d55c6d6e77f6.zip |
encode token into url
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuideMain.java')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuideMain.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuideMain.java b/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuideMain.java index 2ffa1cc7..c1f3966f 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuideMain.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuideMain.java @@ -46,9 +46,9 @@ public class DungeonsGuideMain try { token = authenticator.authenticate(); if (token != null) { - URL.setURLStreamHandlerFactory(new DGURLStreamHandlerFactory(authenticator)); + URL.setURLStreamHandlerFactory(new DGURLStreamHandlerFactory()); LaunchClassLoader launchClassLoader = (LaunchClassLoader) DungeonsGuideMain.class.getClassLoader(); - launchClassLoader.addURL(new URL("dungeonsguide:///")); + launchClassLoader.addURL(new URL("dungeonsguide://"+token+"@/")); try { dungeonsGuideInterface = new DungeonsGuide(); |