UNPKG

mlgta

Version:

Can log in via google, x, discord. ![alt text](https://raw.githubusercontent.com/takayamaekawa/branding/refs/heads/master/repo/mlgta/login_form.png) After login successfully, redirecting. ![alt text](https://raw.githubusercontent.com/takayamaekawa/b

85 lines (82 loc) 1.79 kB
import { Config } from '../types'; const baseConfig: Config = { name: 'Default Org', year: new Date().getFullYear(), url: 'https://default.org.net', og: { title: 'Default Org', description: 'Default Org Description', image: 'default-org.png', url: 'http://localhost:3000' }, social: { me: { portfolio: { url: 'https://default.me/' } }, discord: { this: { url: 'https://discord.gg/default' }, }, github: { this: { url: 'https://github.com/defaultuser/this' } } }, server: { port: '3000', url: 'http://localhost:3000', root: "/", host: 'localhost:3000', logo: { url: "http://localhost:3000/favicon.png" }, modules: { jwt: { secret: "defaultsecret" }, mysql: { host: "localhost", user: "root", password: "password", database: "database" }, passport: { x: { key: "X_COMSUMER_KEY", secret: "X_COMSUMER_SECRET" }, google: { key: "GOOGLE_CLIENT_SECRET", secret: "GOOGLE_CLIENT_SECRET" }, discord: { key: "DISCORD_CLIENT_KEY", secret: "DISCORD_CLIENT_SECRET" } }, express_session: { secret: "YOUR_RAMDOM_SECRET" }, nodemailer: { host: "smtp.gmail.com", port: 587, user: "<user>@gmail.com", from: "<user>@gmail.com", password: "YOUR_PASSWORD" } } }, client: { icon: { random: { enable: false }, path: 'choose: /public/images/icon/default/sample.png (random=false) || /public/images/icon/default (random=true)' } } }; export default baseConfig;