c0289b6a8c
- indonesian localization by @LyfeV - rewrote readme - added new line at the end for files that were missing it
12 lines
344 B
JavaScript
12 lines
344 B
JavaScript
import loc from "../../localization/manager.js";
|
|
|
|
export function internalError(res) {
|
|
res.status(501).json({ status: "error", text: "Internal Server Error" });
|
|
}
|
|
export function errorUnsupported(lang) {
|
|
return loc(lang, 'ErrorUnsupported');
|
|
}
|
|
export function genericError(lang, host) {
|
|
return loc(lang, 'ErrorBrokenLink', host);
|
|
}
|