tangled
alpha
login
or
join now
danabra.mov
/
slices
forked from
slices.network/slices
0
fork
atom
Highly ambitious ATProtocol AppView service and sdks
0
fork
atom
overview
issues
pulls
pipelines
update graphql playground config
chadtmiller.com
5 months ago
b88b8e56
73fc943d
+2
1 changed file
expand all
collapse all
unified
split
api
src
graphql
handler.rs
+2
api/src/graphql/handler.rs
···
140
141
const fetcher = createGraphiQLFetcher({{
142
url: '/graphql',
0
143
headers: {{
144
'X-Slice-Uri': '{}'
145
}}
···
165
</div>
166
</body>
167
</html>"#,
0
168
slice_uri.replace("'", "\\'").replace("\"", "\\\"")
169
);
170
···
140
141
const fetcher = createGraphiQLFetcher({{
142
url: '/graphql',
143
+
subscriptionUrl: '/graphql/ws?slice={}',
144
headers: {{
145
'X-Slice-Uri': '{}'
146
}}
···
166
</div>
167
</body>
168
</html>"#,
169
+
slice_uri.replace("'", "\\'").replace("\"", "\\\""),
170
slice_uri.replace("'", "\\'").replace("\"", "\\\"")
171
);
172