Skip to content

Commit b8d009e

Browse files
committed
add loading.gif as well
1 parent 01ffc56 commit b8d009e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/edu/stanford/nlp/pipeline/StanfordCoreNLPServer.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,6 +1809,8 @@ public void run(Optional<Pair<String,String>> basicAuth,
18091809
withAuth(server.createContext(uriContext+"/webfont.js", new BytesFileHandler("edu/stanford/nlp/pipeline/demo/webfont.js", "application/javascript")), basicAuth);
18101810

18111811
withAuth(server.createContext(uriContext+"/img/corenlp-title.png", new BytesFileHandler("edu/stanford/nlp/pipeline/demo/corenlp-title.png", "image/png")), basicAuth);
1812+
withAuth(server.createContext(uriContext+"/img/loading.gif", new BytesFileHandler("edu/stanford/nlp/pipeline/demo/loading.gif", "image/gif")), basicAuth);
1813+
18121814
withAuth(server.createContext(uriContext+"/ping", new PingHandler()), Optional.empty());
18131815
withAuth(server.createContext(uriContext+"/shutdown", new ShutdownHandler()), basicAuth);
18141816
if (this.serverPort == this.statusPort) {

0 commit comments

Comments
 (0)