Skip to content

Commit

Permalink
Change Posthog and Auth0 configs
Browse files Browse the repository at this point in the history
  • Loading branch information
victorrgouvea committed Sep 20, 2024
1 parent 899d6a1 commit 683b41d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ export default defineNuxtConfig({
// Eg. in the browser
public: {
posthog: {
host: "",
publicKey: "",
host: process.env.NUXT_POSTHOG_HOST,
publicKey: process.env.NUXT_POSTHOG_PUBLIC_KEY,
},
},
},
Expand Down
17 changes: 16 additions & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,22 @@
</main>
</template>

<script lang="ts">
<script lang="ts" setup>
// import type { User } from "next-auth";
// import type { Index } from "~/server/api/index.get";
// This tells nuxt-auth that this page is public
definePageMeta({ auth: false });
// const { status } = useAuth();
// const [
// { data: privateData, refresh: privateRefresh },
// { data: publicData, refresh: publicRefresh },
// ] = await Promise.all([
// useFetch<User>("/api/me", { server: false, immediate: false }),
// useFetch<Index>("/api", { server: false, immediate: false }),
// ]);
</script>

<style scoped>
Expand Down

0 comments on commit 683b41d

Please sign in to comment.