Use .jpg instead of .jpeg for image/jpeg

Revert "Resolve #795"

This reverts commit d6939b2913.
This commit is contained in:
FooIbar authored and tarsin committed 2023-02-14 16:05:07 +08:00
1 parent 9042d065ae
commit 69396f3d59
2 files changed
-2

No files matched your search

@@ -28,7 +28,6 @@ public abstract class PageLoader2 extends PageLoader {
// With dot
public static final String[] SUPPORT_IMAGE_EXTENSIONS = {
".jpg", // Joint Photographic Experts Group
".jpeg",
".png", // Portable Network Graphics
".gif", // Graphics Interchange Format
};
@@ -104,7 +104,6 @@ class SpiderQueenWorker(private val queen: SpiderQueen) : CoroutineScope {
return queen.updatePageState(index, STATE_FINISHED)
}
if (force) {
spiderDen.remove(index)
pTokenLock.withLock {
val pToken = spiderInfo.pTokenMap[index]
if (pToken == TOKEN_FAILED) spiderInfo.pTokenMap.remove(index)