fix: Path to onboarding markdown files (changed with updated build process)
This commit is contained in:
@@ -148,7 +148,15 @@ Team.prototype.provisionFirstCollection = async function (userId) {
|
|||||||
];
|
];
|
||||||
for (const title of onboardingDocs) {
|
for (const title of onboardingDocs) {
|
||||||
const text = await readFile(
|
const text = await readFile(
|
||||||
path.join(__dirname, "..", "onboarding", `${title}.md`),
|
path.join(
|
||||||
|
__dirname,
|
||||||
|
"..",
|
||||||
|
"..",
|
||||||
|
"..",
|
||||||
|
"server",
|
||||||
|
"onboarding",
|
||||||
|
`${title}.md`
|
||||||
|
),
|
||||||
"utf8"
|
"utf8"
|
||||||
);
|
);
|
||||||
const document = await Document.create({
|
const document = await Document.create({
|
||||||
|
|||||||
Reference in New Issue
Block a user