fix: voeg js toe bij config import
This commit is contained in:
parent
887787de05
commit
79009de80c
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
import { Request, Response } from 'express';
|
import { Request, Response } from 'express';
|
||||||
import { getLearningObjectsFromPath } from '../services/learningObjects.js';
|
import { getLearningObjectsFromPath } from '../services/learningObjects.js';
|
||||||
import { FALLBACK_LANG } from '../config';
|
import { FALLBACK_LANG } from '../config.js';
|
||||||
|
|
||||||
export async function getAllLearningObjects(
|
export async function getAllLearningObjects(
|
||||||
req: Request,
|
req: Request,
|
||||||
|
|
|
@ -3,7 +3,7 @@ import path from 'path';
|
||||||
import yaml from 'js-yaml';
|
import yaml from 'js-yaml';
|
||||||
import { Request, Response } from 'express';
|
import { Request, Response } from 'express';
|
||||||
import { themes } from '../data/themes.js';
|
import { themes } from '../data/themes.js';
|
||||||
import { FALLBACK_LANG } from '../config';
|
import { FALLBACK_LANG } from '../config.js';
|
||||||
|
|
||||||
interface Translations {
|
interface Translations {
|
||||||
curricula_page: {
|
curricula_page: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue