Skip to content

Commit

Permalink
[ui] Fix internal static asset test for GraphiQL (#23448)
Browse files Browse the repository at this point in the history
## Summary & Motivation

Fix internal test related to the GraphiQL change. The relevant
configuration is in OSS, but the test runs internally.

## How I Tested These Changes

Point internal branch at this branch, verify that the internal build
passes.
  • Loading branch information
hellendag authored Aug 6, 2024
1 parent 784e701 commit 204f143
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,10 @@ def _static_file(path, file_path):
# These are tested by an internal test without building the app.
return [
Route("/favicon.png", lambda _: FileResponse(path="/favicon")),
Route(
"/vendor/graphiql/graphiql.min.css",
lambda _: FileResponse(path="/vendor/graphiql/graphiql.min.css"),
),
]

return routes
Expand Down

0 comments on commit 204f143

Please sign in to comment.