field create
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
let app;
|
||||
let channel;
|
||||
|
||||
export function createApp(channelData) {
|
||||
channel = channelData;
|
||||
|
||||
app = {
|
||||
url: (path) => {
|
||||
return channel.lucentUrl + "/" + path;
|
||||
},
|
||||
};
|
||||
return app;
|
||||
}
|
||||
|
||||
export function getApp() {
|
||||
return app;
|
||||
}
|
||||
Reference in New Issue
Block a user