File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - master
7- # Daily rebuild so build-time data — e.g. the GitHub star count fetched in the
8- # Astro site's src/data/github.ts — stays fresh without a manual deploy.
7+ # Daily rebuild + manual trigger. Once the deploy targets the Astro site (at
8+ # cutover), this refreshes build-time data like the GitHub star count in
9+ # site/src/data/github.ts; until then it just redeploys the current site.
910 schedule :
1011 - cron : ' 0 6 * * *'
1112 # Allow manual runs from the Actions tab.
Original file line number Diff line number Diff line change @@ -61,9 +61,9 @@ func main() {
6161
6262<head >
6363 <meta http-equiv =" Content-Type" content =" text/html; charset=UTF-8" />
64- <link rel =" stylesheet" href =" https://maxcdn.bootstrapcdn.com/bootstrap/3 .3.5 /css/bootstrap.min.css" >
64+ <link rel =" stylesheet" href =" https://cdn.jsdelivr.net/npm/bootstrap@5 .3.3/dist /css/bootstrap.min.css" >
6565 <title >JSONP</title >
66- <script type =" text/javascript" src =" //ajax.googleapis .com/ajax/libs/ jquery/1/jquery .min.js" ></script >
66+ <script type =" text/javascript" src =" https://code.jquery .com/jquery-3.7.1 .min.js" ></script >
6767 <script type =" text/javascript" >
6868 var host_prefix = ' http://localhost:1323' ;
6969 $ (document ).ready (function () {
Original file line number Diff line number Diff line change @@ -76,9 +76,9 @@ e.IPExtractor = echo.ExtractIPFromXFFHeader()
7676
7777By default it trusts internal IP addresses — loopback, link-local unicast,
7878private-use, and unique local addresses from
79- [ RFC 6890] ( https://tools .ietf.org/html/rfc6890 ) ,
80- [ RFC 4291] ( https://tools .ietf.org/html/rfc4291 ) , and
81- [ RFC 4193] ( https://tools .ietf.org/html/rfc4193 ) . Control this with ` TrustOption ` s:
79+ [ RFC 6890] ( https://datatracker .ietf.org/doc /html/rfc6890 ) ,
80+ [ RFC 4291] ( https://datatracker .ietf.org/doc /html/rfc4291 ) , and
81+ [ RFC 4193] ( https://datatracker .ietf.org/doc /html/rfc4193 ) . Control this with ` TrustOption ` s:
8282
8383``` go
8484e.IPExtractor = echo.ExtractIPFromXFFHeader (
Original file line number Diff line number Diff line change 55 order : 6
66---
77
8- CORS middleware implements the [ CORS] ( http ://www.w3. org/TR/ cors) specification. CORS gives
8+ CORS middleware implements the [ CORS] ( https ://fetch.spec.whatwg. org/#http- cors-protocol ) specification. CORS gives
99web servers cross-domain access controls, which enable secure cross-domain data transfers.
1010
1111## Usage
You can’t perform that action at this time.
0 commit comments