wip: moved the content loader
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
export function getAssetsDomain(): string {
|
||||
if (typeof process.env.ASSETS_DOMAIN === 'undefined') {
|
||||
throw new Error("missing env ASSETS_DOMAIN");
|
||||
}
|
||||
|
||||
return process.env.ASSETS_DOMAIN;
|
||||
}
|
||||
|
||||
export function getMysqlHost(): string {
|
||||
if (typeof process.env.MYSQL_HOST === 'undefined') {
|
||||
throw new Error("missing env MYSQL_HOST")
|
||||
|
||||
Reference in New Issue
Block a user