16 lines
No EOL
322 B
JavaScript
16 lines
No EOL
322 B
JavaScript
(function (window) {
|
|
"use strict";
|
|
|
|
window.ls.container.set('console', function (window) {
|
|
var sdk = new window.Appwrite();
|
|
|
|
sdk
|
|
.setEndpoint(APP_ENV.API)
|
|
.setProject('console')
|
|
.setLocale(APP_ENV.LOCALE)
|
|
;
|
|
|
|
return sdk;
|
|
}, true);
|
|
|
|
})(window); |