Set graphiql package version in GQL playground
All checks were successful
Unit Tests / test-unit (pull_request) Successful in 56s
Build / build (pull_request) Successful in 52s
SDK Tests / sdk_tests_authority_auctions (pull_request) Successful in 10m12s
Integration Tests / test-integration (pull_request) Successful in 45s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 4m38s
SDK Tests / sdk_tests (pull_request) Successful in 14m12s
E2E Tests / test-e2e (pull_request) Successful in 1m47s

This commit is contained in:
Nabarun 2025-05-07 11:15:10 +05:30
parent 07297a27d1
commit 8dd84f23d5
2 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Copy over binary from the builder
COPY --from=builder /go/src/git.vdb.to/cerc-io/laconicd/build/laconicd /usr/bin/laconicd
# Copy over init script from builder
# Copy over init script from builder
COPY --from=builder /go/src/git.vdb.to/cerc-io/laconicd/scripts/init.sh scripts/init.sh
WORKDIR /

View File

@ -26,7 +26,7 @@ func PlaygroundHandler(apiURL string) http.HandlerFunc {
}
}
// https://github.com/graphql/graphiql/blob/main/examples/graphiql-cdn/index.html
// https://github.com/graphql/graphiql/blob/graphiql%402.4.7/examples/graphiql-cdn/index.html
var page = template.Must(template.New("graphiql").Parse(`
<!DOCTYPE html>
<html lang="en">
@ -68,17 +68,17 @@ var page = template.Must(template.New("graphiql").Parse(`
copy them directly into your environment, or perhaps include them in your
favored resource bundler.
-->
<link rel="stylesheet" href="https://unpkg.com/graphiql/graphiql.min.css" />
<link rel="stylesheet" href="https://unpkg.com/graphiql@2.4.7/graphiql.min.css" />
</head>
<body>
<div id="graphiql">Loading...</div>
<script
src="https://unpkg.com/graphiql/graphiql.min.js"
src="https://unpkg.com/graphiql@2.4.7/graphiql.min.js"
type="application/javascript"
></script>
<script>
// https://github.com/graphql/graphiql/blob/main/packages/graphiql/resources/renderExample.js
// https://github.com/graphql/graphiql/blob/graphiql%402.4.7/packages/graphiql/resources/renderExample.js
// Parse the search string to get url parameters.
var search = window.location.search;