Skip to content
This repository was archived by the owner on Nov 5, 2022. It is now read-only.

Commit e780be9

Browse files
authored
Merge pull request #41 from cyclic-reference/BRING-ARCHIVES-BACK
BRING ARCHIVES BACK!
2 parents f69c535 + 5071d5c commit e780be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-service/src/main/java/io/acari/core/HttpVerticle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public void start(Future<Void> future) {
9494
baseRoute.post("/archives").handler(apiAllArchiveDataHandler.applyConfiguration(config));
9595
baseRoute.get("/pages/:page").handler(apiPageHandler.applyConfiguration(config));
9696
baseRoute.get("/exists/:page").handler(apiPageExistsHandler.applyConfiguration(config));
97+
baseRoute.post("/archive").handler(apiGetArchivePageHandler.applyConfiguration(config));
9798
router.mountSubRouter("/base", baseRoute);
9899

99100
Router apiRouter = Router.router(vertx);
@@ -113,7 +114,6 @@ public void start(Future<Void> future) {
113114
.applyConfiguration(jwtAuth)
114115
.applyConfiguration(mongoAuth));
115116

116-
apiRouter.post("/archive").handler(apiGetArchivePageHandler.applyConfiguration(config));
117117
apiRouter.post("/pages/create").handler(apiCreationHandler.applyConfiguration(config));
118118
apiRouter.put().handler(BodyHandler.create());
119119
apiRouter.put("/archive/restore/:page").handler(apiRestoreArchiveHandler.applyConfiguration(config));

0 commit comments

Comments
 (0)