refact: optimize code
This commit is contained in:
parent
4346e82d98
commit
b0ff68e660
@ -17,7 +17,6 @@ package pub.doric.devkit;
|
||||
|
||||
import pub.doric.DoricContext;
|
||||
import pub.doric.resource.DoricAssetsLoader;
|
||||
import pub.doric.resource.DoricAssetsResource;
|
||||
import pub.doric.resource.DoricRemoteResource;
|
||||
import pub.doric.resource.DoricResource;
|
||||
|
||||
@ -37,6 +36,6 @@ public class DoricDevAssetsLoader extends DoricAssetsLoader {
|
||||
identifier
|
||||
));
|
||||
}
|
||||
return new DoricAssetsResource(doricContext, "assets/" + identifier);
|
||||
return super.load(doricContext, identifier);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user