-
Notifications
You must be signed in to change notification settings - Fork 0
/
payload.config.ts
45 lines (41 loc) · 1.23 KB
/
payload.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import { buildConfig } from "payload/config";
import dotenv from "dotenv";
import Page from "./collections/Page";
import Media from "./collections/Media";
import Messages from "./collections/Messages";
import Study from "./collections/Study";
import Category from "./collections/Category";
import MegaMenu from "./globals/MegaMenu";
import SocialMedia from "./globals/SocialMedia";
import Footer from "./globals/Footer";
import { Profile } from "./collections/Profile";
import Payments from "./collections/Payments";
import Services from "./collections/Services";
import Videoediting from "./collections/Videoediting";
import Designphotoshop from "./collections/Designphotoshop";
import Webdevelopment from "./collections/Webdevelopment";
import Projects from "./collections/Projects";
import path from "path";
dotenv.config();
export default buildConfig({
serverURL: process.env.PAYLOAD_PUBLIC_SERVER_URL,
admin: {
user: Profile.slug,
// css: path.resolve(__dirname, "style/globals.css"),
},
collections: [
Category,
Projects,
Page,
Study,
Media,
Payments,
Services,
Videoediting,
Designphotoshop,
Webdevelopment,
Messages,
Profile,
],
globals: [MegaMenu, SocialMedia, Footer],
});