feat: setup S2S integration, tailwind fixes, admin routing, nginx fallback

This commit is contained in:
2026-09-22 16:40:42 +05:30
parent 45d13fa7be
commit 05358be6c1
17 changed files with 522 additions and 149 deletions
+25
View File
@@ -0,0 +1,25 @@
const mongoose = require('mongoose');
const configSchema = new mongoose.Schema(
{
keyName: {
type: String,
required: true,
unique: true,
},
encryptedValue: {
type: String,
required: true,
},
iv: {
type: String, // Initialization vector needed for decryption
required: true,
}
},
{
timestamps: true,
}
);
const Config = mongoose.model('Config', configSchema);
module.exports = Config;