moved doOptions to BaseHandler, so implementing it in each module is no longer required
This commit is contained in:
@@ -200,11 +200,6 @@ public class UserModule extends BaseHandler implements UserService {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean doOptions(Path path, HttpExchange ex) throws IOException {
|
||||
return ok(addCors(ex));
|
||||
}
|
||||
|
||||
public boolean doPatch(Path path, HttpExchange ex) throws IOException {
|
||||
addCors(ex);
|
||||
String head = null;
|
||||
|
||||
Reference in New Issue
Block a user