- Add GetStatusPageByUrl to networkservice
- Make static status page and actual status config page toggleable - Remove the sidebar nested menu item entry for status page tabs - Pass context to status config page which contains general settings and contents tabs - Status config page is now one submission and one validation
This commit is contained in:
1 parent
5045eafb8e
commit
219bcd4361
7 files changed
+120
-108
No files matched your search
@@ -846,6 +846,18 @@ class NetworkService {
|
||||
"https://api.github.com/repos/bluewave-labs/bluewave-uptime/releases/latest"
|
||||
);
|
||||
}
|
||||
|
||||
async getStatusPageByUrl(config){
|
||||
const params = new URLSearchParams();
|
||||
params.append("url", encodeURIComponent(config.url));
|
||||
|
||||
return this.axiosInstance.get(`/status-page?${params.toString()}`, {
|
||||
headers: {
|
||||
Authorization: `Bearer ${config.authToken}`,
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export default NetworkService;
|
||||
|
||||
Reference in new issue
Block a user