Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

source #17

Closed
bkyerv opened this issue Nov 23, 2022 · 1 comment
Closed

source #17

bkyerv opened this issue Nov 23, 2022 · 1 comment

Comments

@bkyerv
Copy link

bkyerv commented Nov 23, 2022

On the website there is a link that when clicked leads to this repo saying that the repo includes source code of the website
image

When I opened server.ts file in this repo it seems that any request to the root domain should result in redirect to admin pathname

app.get('/', (_, res) => { res.redirect('/admin'); });

However when I request https://payloadcms.com no redirect is happenning. Does that mean that source code in the repo is not source code of the website but source code of the backen(server) that the website relies upon? When I clicked the button on the website promising to show the source code of the website I was expecting to see frontend code for the client but seems like I am looking at the backend code

@jmikrut
Copy link
Member

jmikrut commented Nov 23, 2022

Hey @bkyerv — there are two repos. This one is the CMS that powers the website, but the Next frontend is also available and is linked to from the readme. It's here:

https://github.com/payloadcms/website

@jmikrut jmikrut closed this as completed Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants