Skip to content

Commit

Permalink
add loading.gif as well
Browse files Browse the repository at this point in the history
  • Loading branch information
AngledLuffa committed Nov 7, 2024
1 parent 01ffc56 commit b8d009e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/edu/stanford/nlp/pipeline/StanfordCoreNLPServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -1809,6 +1809,8 @@ public void run(Optional<Pair<String,String>> basicAuth,
withAuth(server.createContext(uriContext+"/webfont.js", new BytesFileHandler("edu/stanford/nlp/pipeline/demo/webfont.js", "application/javascript")), basicAuth);

withAuth(server.createContext(uriContext+"/img/corenlp-title.png", new BytesFileHandler("edu/stanford/nlp/pipeline/demo/corenlp-title.png", "image/png")), basicAuth);
withAuth(server.createContext(uriContext+"/img/loading.gif", new BytesFileHandler("edu/stanford/nlp/pipeline/demo/loading.gif", "image/gif")), basicAuth);

withAuth(server.createContext(uriContext+"/ping", new PingHandler()), Optional.empty());
withAuth(server.createContext(uriContext+"/shutdown", new ShutdownHandler()), basicAuth);
if (this.serverPort == this.statusPort) {
Expand Down

0 comments on commit b8d009e

Please sign in to comment.