Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 7525559

Browse files
authored
Serve remote JS script through Cloudflare CDN (#17)
* chore(ui): change JS script source --------- Signed-off-by: hayk96 <hayko5999@gmail.com>
1 parent e1f037d commit 7525559

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.2.1 / 2024-05-07
4+
5+
* [CHANGE] Serve remote JS script through Cloudflare CDN. No API changes. #17
6+
37
## 0.2.0 / 2024-05-02
48

59
* [ENHANCEMENT] Added support of Web UI for better management of the Prometheus rules through UI. #14

src/utils/openapi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def openapi(app: FastAPI):
1616
"providing additional features and addressing its limitations. "
1717
"Running as a sidecar alongside the Prometheus server enables "
1818
"users to extend the capabilities of the API.",
19-
version="0.2.0",
19+
version="0.2.1",
2020
contact={
2121
"name": "Hayk Davtyan",
2222
"url": "https://hayk96.github.io",

ui/rules-management/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ <h2>Create New Rule</h2>
5858
</div>
5959
</div>
6060

61-
<script src="https://cdn.jsdelivr.net/npm/js-yaml@4/dist/js-yaml.min.js"></script>
61+
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-yaml/4.1.0/js-yaml.min.js"></script>
6262
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.2/codemirror.min.js"></script>
6363
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.2/mode/yaml/yaml.min.js"></script>
6464
<script type="" src="/rules-management/script.js"></script>

0 commit comments

Comments
 (0)