Browse Source

[GinR] Serve yaml locally

cgars 7 năm trước cách đây
mục cha
commit
536ded6b50
2 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 0 0
      public/js/libs/yaml.min.js
  2. 1 1
      templates/base/head.tmpl

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
public/js/libs/yaml.min.js


+ 1 - 1
templates/base/head.tmpl

@@ -75,7 +75,7 @@
 		{{if .IsYAML}}
 		<script src="{{AppSubURL}}/js/libs/jsoneditor.min.js"></script>
 		<link rel="stylesheet" href="{{AppSubURL}}/css/jsoneditor/jsoneditor.min.css"/>
-		<script src="https://cdnjs.cloudflare.com/ajax/libs/yamljs/0.3.0/yaml.min.js"></script>
+		<script src="{{AppSubURL}}/js/libs/yaml.min.js"></script>
 		{{end}}
 
 		{{if .RequireSimpleMDE}}

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác