33 lines
1.7 KiB
HTML
33 lines
1.7 KiB
HTML
<!-- Served by the gateway's nginx (an exact-match `location = /api/docs/`
|
|
alias straight to this file's nix store path — see
|
|
nix/host-modules/hive-gateway/vhosts.nix's swaggerThemeLocations),
|
|
NOT by hive-c0re: a theme tweak here is a gateway config change,
|
|
not a hive-c0re rebuild+restart. Byte-identical to the vendored
|
|
Swagger UI's dist/index.html except two added <link>s: `colors.css`
|
|
(same origin as the dashboard — so this resolves the operator's
|
|
live stylix theme, not a frozen copy) and hyperhive-theme.css,
|
|
which consumes its `--baseNN` vars. Every other path here (script
|
|
src, other stylesheets, favicons) stays relative and falls through
|
|
nginx's `/api/` prefix proxy to hive-c0re's own vendored,
|
|
unmodified Swagger UI assets — only this file and
|
|
hyperhive-theme.css are intercepted. -->
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Swagger UI</title>
|
|
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" />
|
|
<link rel="stylesheet" type="text/css" href="index.css" />
|
|
<link rel="stylesheet" type="text/css" href="/static/colors.css" />
|
|
<link rel="stylesheet" type="text/css" href="hyperhive-theme.css" />
|
|
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
|
|
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
|
|
</head>
|
|
|
|
<body>
|
|
<div id="swagger-ui"></div>
|
|
<script src="./swagger-ui-bundle.js" charset="UTF-8"> </script>
|
|
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
|
|
<script src="./swagger-initializer.js" charset="UTF-8"> </script>
|
|
</body>
|
|
</html>
|