aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuideMain.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuideMain.java')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/DungeonsGuideMain.java4
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();