mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 03:14:03 +03:00
034a230365
refs https://github.com/TryGhost/Team/issues/2561 - added simple socket-io implementation to Ghost server - added alpha flag for websockets - added route in admin to test websockets using a simple counter stored in server local memory (refreshes on reboot)
13 lines
354 B
JavaScript
13 lines
354 B
JavaScript
import Controller from '@ember/controller';
|
|
/* eslint-disable ghost/ember/alias-model-in-controller */
|
|
import classic from 'ember-classic-decorator';
|
|
import {inject as service} from '@ember/service';
|
|
|
|
@classic
|
|
export default class WebsocketsController extends Controller {
|
|
@service feature;
|
|
|
|
init() {
|
|
super.init(...arguments);
|
|
}
|
|
} |