Set graphiql package version in GQL playground (#67)
All checks were successful
E2E Tests / test-e2e (push) Successful in 1m55s
Unit Tests / test-unit (push) Successful in 1m12s
SDK Tests / sdk_tests_authority_auctions (push) Successful in 10m21s
Integration Tests / test-integration (push) Successful in 46s
SDK Tests / sdk_tests (push) Successful in 13m58s
SDK Tests / sdk_tests_nameservice_expiry (push) Successful in 4m34s
Publish on release / Run docker build and publish (release) Successful in 1m27s

Part of https://www.notion.so/Laconic-Mainnet-Plan-1eca6b22d47280569cd0d1e6d711d949

Reviewed-on: #67
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
This commit is contained in:
Nabarun 2025-05-09 09:49:28 +00:00 committed by nabarun
parent 07297a27d1
commit c14f1d3b00
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;