update server services to support DNS type queries
This commit is contained in:
1 parent
98d2bbfbb9
commit
272e4b5014
4 files changed
+12
-6
No files matched your search
@@ -223,7 +223,8 @@ export class MonitorService implements IMonitorService {
|
||||
checksData.monitorType !== "port" &&
|
||||
checksData.monitorType !== "game" &&
|
||||
checksData.monitorType !== "grpc" &&
|
||||
checksData.monitorType !== "websocket"
|
||||
checksData.monitorType !== "websocket" &&
|
||||
checksData.monitorType !== "dns"
|
||||
) {
|
||||
throw new AppError({ message: `${monitor.type} monitors are not supported for uptime details`, status: 400 });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user