|
|
|
@ -84,12 +84,6 @@ public class TagModule extends BaseHandler implements TagService { |
|
|
|
return sendContent(ex,tagDb.getUses(tag,user.id())); |
|
|
|
return sendContent(ex,tagDb.getUses(tag,user.id())); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public boolean doOptions(Path path, HttpExchange ex) throws IOException { |
|
|
|
|
|
|
|
addCors(ex); |
|
|
|
|
|
|
|
return sendEmptyResponse(HTTP_OK,ex); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public boolean doPost(Path path, HttpExchange ex) throws IOException { |
|
|
|
public boolean doPost(Path path, HttpExchange ex) throws IOException { |
|
|
|
addCors(ex); |
|
|
|
addCors(ex); |
|
|
|
|