mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-25 17:24:48 +10:00
Series of small fixes (#346)
* migrate bufbuild config to v2 * fix localdir lookup * fix old oidc redirect path * rework twemoji path stuff * fix torrential cmd * fix broken lock file * align dev server port with nginx * bump pnpm * bump nuxt * make translations lazy loaded * format numbers via i18n * fix prisma breaking if extension already exists
This commit is contained in:
@@ -50,7 +50,7 @@ export class TorrentialService extends Service<unknown> {
|
||||
"torrential",
|
||||
() => {
|
||||
const localDir = fs.readdirSync(".");
|
||||
if ("torrential" in localDir) {
|
||||
if (localDir.includes("torrential")) {
|
||||
const stat = fs.statSync("./torrential");
|
||||
if (stat.isDirectory()) {
|
||||
// in dev and we have the submodule
|
||||
@@ -58,8 +58,8 @@ export class TorrentialService extends Service<unknown> {
|
||||
"torrential detected in development mode - building from source",
|
||||
);
|
||||
return spawn(
|
||||
"cargo run --manifest-path ./torrential/Cargo.toml",
|
||||
[],
|
||||
"cargo",
|
||||
["run", "--manifest-path", "./torrential/Cargo.toml"],
|
||||
{},
|
||||
);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user