feat: setup S2S integration, tailwind fixes, admin routing, nginx fallback
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user