Compare commits
4 Commits
123d4155b4
...
f36d0686a1
Author | SHA1 | Date |
---|---|---|
|
f36d0686a1 | |
|
d6b44615a0 | |
|
687d4aec08 | |
|
18f75595da |
|
@ -16,12 +16,14 @@
|
||||||
<p
|
<p
|
||||||
v-if="config.showDisclaimer"
|
v-if="config.showDisclaimer"
|
||||||
class="disclaimer"
|
class="disclaimer"
|
||||||
>{{ config.disclaimer }}</p>
|
v-html="config.disclaimer"
|
||||||
|
/>
|
||||||
|
|
||||||
<p
|
<p
|
||||||
v-if="config.showAnnouncement"
|
v-if="config.showAnnouncement"
|
||||||
class="announcement"
|
class="announcement"
|
||||||
>{{ config.announcement }}</p>
|
v-html="config.announcement"
|
||||||
|
/>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
ref="content"
|
ref="content"
|
||||||
|
|
|
@ -13,6 +13,7 @@ module.exports = {
|
||||||
database: 'traxxx',
|
database: 'traxxx',
|
||||||
},
|
},
|
||||||
timeout: 5000,
|
timeout: 5000,
|
||||||
|
graphiql: false,
|
||||||
},
|
},
|
||||||
web: {
|
web: {
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
apps: [
|
apps: [
|
||||||
// LEAFS
|
|
||||||
{
|
{
|
||||||
name: 'traxxx',
|
name: 'traxxx',
|
||||||
script: 'src/init.js',
|
script: 'src/init.js',
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.228.4",
|
"version": "1.228.6",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.228.4",
|
"version": "1.228.6",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@casl/ability": "^5.2.2",
|
"@casl/ability": "^5.2.2",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.228.4",
|
"version": "1.228.6",
|
||||||
"description": "All the latest porn releases in one place",
|
"description": "All the latest porn releases in one place",
|
||||||
"main": "src/app.js",
|
"main": "src/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -27,7 +27,7 @@ function initPostgraphile(credentials) {
|
||||||
// watchPg: true,
|
// watchPg: true,
|
||||||
disableDefaultMutations: true,
|
disableDefaultMutations: true,
|
||||||
dynamicJson: true,
|
dynamicJson: true,
|
||||||
graphiql: true,
|
graphiql: config.database.graphiql,
|
||||||
enhanceGraphiql: true,
|
enhanceGraphiql: true,
|
||||||
allowExplain: () => true,
|
allowExplain: () => true,
|
||||||
// simpleCollections: 'only',
|
// simpleCollections: 'only',
|
||||||
|
|
|
@ -72,6 +72,7 @@ async function initServer() {
|
||||||
const store = new KnexSessionStore({ knex });
|
const store = new KnexSessionStore({ knex });
|
||||||
|
|
||||||
app.set('view engine', 'ejs');
|
app.set('view engine', 'ejs');
|
||||||
|
app.disable('x-powered-by');
|
||||||
|
|
||||||
router.use('/media', express.static(config.media.path));
|
router.use('/media', express.static(config.media.path));
|
||||||
router.use(express.static('public'));
|
router.use(express.static('public'));
|
||||||
|
|
Loading…
Reference in New Issue