This repository was archived by the owner on Nov 5, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
web-service/src/main/java/io/acari/core Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff 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 ));
You can’t perform that action at this time.
0 commit comments