diff --git a/module/gitea/assets/assets.go b/module/gitea/assets/assets.go index 5d101d2..2fff426 100644 --- a/module/gitea/assets/assets.go +++ b/module/gitea/assets/assets.go @@ -2,5 +2,5 @@ package assets import "embed" -//go:embed swagger -var SwaggerAssets embed.FS +//go:embed waffle +var WaffleAssets embed.FS diff --git a/module/gitea/assets/swagger/favicon-16x16.png b/module/gitea/assets/swagger/favicon-16x16.png deleted file mode 100644 index 8b194e6..0000000 Binary files a/module/gitea/assets/swagger/favicon-16x16.png and /dev/null differ diff --git a/module/gitea/assets/swagger/favicon-32x32.png b/module/gitea/assets/swagger/favicon-32x32.png deleted file mode 100644 index 249737f..0000000 Binary files a/module/gitea/assets/swagger/favicon-32x32.png and /dev/null differ diff --git a/module/gitea/assets/swagger/index.css b/module/gitea/assets/swagger/index.css deleted file mode 100644 index f2376fd..0000000 --- a/module/gitea/assets/swagger/index.css +++ /dev/null @@ -1,16 +0,0 @@ -html { - box-sizing: border-box; - overflow: -moz-scrollbars-vertical; - overflow-y: scroll; -} - -*, -*:before, -*:after { - box-sizing: inherit; -} - -body { - margin: 0; - background: #fafafa; -} diff --git a/module/gitea/assets/swagger/index.html b/module/gitea/assets/swagger/index.html deleted file mode 100644 index 84ae62d..0000000 --- a/module/gitea/assets/swagger/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- ->16&255,u[c++]=t>>8&255,u[c++]=255&t;2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[c++]=255&t);1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t);return u},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,a=[],i=16383,s=0,l=n-o;s0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function u(e,t,n){for(var o,a,i=[],s=t;ss&&(r=s-l),a=r;a>=0;a--){let r=!0;for(let n=0;n>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let a=!1;for(;;)switch(n){case"hex":return w(this,e,t,r);case"utf8":case"utf-8":return E(this,e,t,r);case"ascii":case"latin1":case"binary":return x(this,e,t,r);case"base64":return _(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const C=4096;function O(e,t,r){let n="";r=Math.min(e.length,r);for(let o=t;o