Merge branch 'main' of https://github.com/Crepe-Inc/CrepeSR
This commit is contained in:
commit
994c8448bc
@ -25,6 +25,10 @@ export default async function handle(command: Command) {
|
|||||||
c.log("No target specified");
|
c.log("No target specified");
|
||||||
c.log("Possible targets: ");
|
c.log("Possible targets: ");
|
||||||
possibleTargets.forEach(x => c.trail(`${x.id} (UID: ${x.uid})`));
|
possibleTargets.forEach(x => c.trail(`${x.id} (UID: ${x.uid})`));
|
||||||
|
if(!possibleTargets[1] && possibleTargets[0]){
|
||||||
|
c.log(`Auto target the only session ${possibleTargets[0].uid}`);
|
||||||
|
Interface.target = possibleTargets[0].session;
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ const DEFAULT_CONFIG = {
|
|||||||
VERBOSE_LEVEL: 1,
|
VERBOSE_LEVEL: 1,
|
||||||
|
|
||||||
// MongoDB
|
// MongoDB
|
||||||
MONGO_URI: "mongodb://localhost:27017/crepesr",
|
MONGO_URI: "mongodb://0.0.0.0:27017/crepesr",
|
||||||
|
|
||||||
// HTTP
|
// HTTP
|
||||||
HTTP: {
|
HTTP: {
|
||||||
|
Loading…
Reference in New Issue
Block a user