diff options
| author | shpuld <shp@cock.li> | 2019-01-14 19:23:13 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2019-01-14 19:23:13 +0200 |
| commit | 17735943d5cdde1eb852d36f1c3bb699d23f7eb6 (patch) | |
| tree | d5a6b7f8d8c3512a6f262371f0038a2adb311288 /src/main.js | |
| parent | a51167fa72a64505080c9aea47b5d3bc97a529b0 (diff) | |
Add media viewer module and media module component, modify attachment behavior
Diffstat (limited to 'src/main.js')
| -rw-r--r-- | src/main.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.js b/src/main.js index f87ef9da..adeb0550 100644 --- a/src/main.js +++ b/src/main.js @@ -10,6 +10,7 @@ import apiModule from './modules/api.js' import configModule from './modules/config.js' import chatModule from './modules/chat.js' import oauthModule from './modules/oauth.js' +import mediaViewerModule from './modules/media_viewer.js' import VueTimeago from 'vue-timeago' import VueI18n from 'vue-i18n' @@ -62,7 +63,8 @@ createPersistedState(persistedStateOptions).then((persistedState) => { api: apiModule, config: configModule, chat: chatModule, - oauth: oauthModule + oauth: oauthModule, + mediaViewer: mediaViewerModule }, plugins: [persistedState, pushNotifications], strict: false // Socket modifies itself, let's ignore this for now. |
