Skip to content

Commit

Permalink
prettify, adding .wrangler path to prettierignore
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrrt committed Dec 19, 2023
1 parent c0c6795 commit 3af7d65
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 14 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.wrangler
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@

Hydra is a lightweight framework written in TypeScript designed to solve Edge caching challenges for GraphQL endpoints such as automated caching and invalidation of relevant cached queries, built-in security.


To get started with Hydra, follow this [link](https://hydra.authdog.com).
4 changes: 2 additions & 2 deletions apps/docs/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "../theme.css";

export default function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
}
return <Component {...pageProps} />;
}
14 changes: 7 additions & 7 deletions apps/docs/theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from "react";
import { DocsThemeConfig } from "nextra-theme-docs";
import { GiHydra } from "react-icons/gi";


const config: DocsThemeConfig = {
logo: (
<span className="logo-area" style={{ display: "flex" }}>
Expand All @@ -17,19 +16,20 @@ const config: DocsThemeConfig = {
link: "https://corp.auth.dog/discord",
},
editLink: {
text: ""
text: "",
},
feedback: {
content: null
content: null,
},
footer: {
component: (
<div style={{ textAlign: "center", padding: '2em' }}>
©{new Date().getFullYear()}&nbsp;<a href="https://www.authdog.com">Authdog</a>, LLC.
<div style={{ textAlign: "center", padding: "2em" }}>
©{new Date().getFullYear()}&nbsp;
<a href="https://www.authdog.com">Authdog</a>, LLC.
</div>
)
),
},
faviconGlyph: "🐉"
faviconGlyph: "🐉",
};

export default config;
5 changes: 1 addition & 4 deletions services/itty-hydra/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,10 @@ let rawSchema = null;

try {
rawSchema = require("./.hydra/schemaRaw");
}
catch (err) {
} catch (err) {
console.log("err", err);
}



const { preflight, corsify } = createCors();

const router = Router();
Expand Down

0 comments on commit 3af7d65

Please sign in to comment.