Skip to content

Commit 9e1955a

Browse files
committed
feat: never share
1 parent c84d660 commit 9e1955a

20 files changed

+73
-2
lines changed

components/snippets/never.share.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { Callout } from "nextra/components";
2+
3+
<Callout type="warning">
4+
Warning: Never share your API keys or sensitive information in public.<br />
5+
This API keys are meant for private use only and should be kept secure on your repository. <br />
6+
API keys should never be shared with Postiz owners.
7+
</Callout>

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
5+
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.

package-lock.json

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pages/providers.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
title: Providers
33
description: 'Postiz Providers'
44
---
5+
import NeverShare from "../components/snippets/never.share.mdx";
56

67
You can see all the providers that Postiz supports documented in the sidebar, under "**Providers Configuration**".
78

89
Please note that no providers are configured by default. You will need to configure them all in your `.env` file, or as environment variables. You will need to restart Postiz whenever you change environment variables. If you are using docker compose, you must run `docker compose down` and then docker compose `up` to rebuild the containers with the updated variables.
910

10-
11+
<NeverShare />

pages/providers/bluesky.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ description: How to add Bluesky to Postiz
44
---
55

66
import {Steps, Callout} from "nextra/components";
7+
import NeverShare from "../../components/snippets/never.share.mdx";
8+
9+
<NeverShare />
710

811
<Steps>
912
### Add BlueSky as a Channel

pages/providers/discord.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ description: How to add discord to your system
55

66
import {Steps, Callout} from "nextra/components";
77
import OAuth2Redirect from "../../components/snippets/oauth2redirect.tsx";
8+
import NeverShare from "../../components/snippets/never.share.mdx";
9+
10+
<NeverShare />
811

912
<Callout>
1013
This integration requires that you have **Manage Server** permissions on the Discord server you want to integrate with.

pages/providers/dribbble.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ description: How to add Dribbble to your system
55

66
import {Steps, Callout} from "nextra/components";
77
import OAuth2Redirect from "../../components/snippets/oauth2redirect.tsx";
8+
import NeverShare from "../../components/snippets/never.share.mdx";
9+
10+
<NeverShare />
811

912
<Steps>
1013

pages/providers/facebook.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ description: How to add Facebook to your system
55

66
import {Steps, Callout} from "nextra/components";
77
import OAuth2Redirect from "../../components/snippets/oauth2redirect.tsx";
8+
import NeverShare from "../../components/snippets/never.share.mdx";
9+
10+
<NeverShare />
811

912
<Callout type="warning">
1013
**NOTE:** Please be advised that Instagram and Facebook can use the same app (no need to create two separate apps)

pages/providers/instagram.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ description: How to add Instagram to your system
55

66
import {Steps, Callout} from "nextra/components";
77
import OAuth2Redirect from "../../components/snippets/oauth2redirect.tsx";
8+
import NeverShare from "../../components/snippets/never.share.mdx";
9+
10+
<NeverShare />
811

912
<Callout type="warning">
1013
**NOTE:** Please be advised that Instagram and Facebook can use the same app (no need to create two separate apps)

pages/providers/linkedin-page.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ description: How to add a LinkedIn Page to your system
44
---
55

66
import OAuth2Redirect from "../../components/snippets/oauth2redirect.tsx";
7+
import NeverShare from "../../components/snippets/never.share.mdx";
8+
9+
<NeverShare />
710

811
Head over to [LinkedIn developers](https://www.linkedin.com/developers/apps) and create a new app.
912
![Linkedin](/images/providers/linkedin/linkedin-001.png)

0 commit comments

Comments
 (0)