NodeJS 모듈과 함께 Drupal 8을 성공적으로 설치 및 구성했습니다.Drupal 8 + NodeJS가 연결되었지만 프런트 엔드에 알림이 표시되지 않습니다.
Nodejs Notifcations 모듈 (nodejs_notify)이 활성화되어 있으므로 메시지를 브로드 캐스트하려고했습니다. 나는 무엇을 얻는가? 총 침묵. 어디에도 알림이 없습니다. 이 터미널은 보여줍니다 것입니다 :
여기[2017/09/21 16:43:45] Route callback: checkServiceKey
[2017/09/21 16:43:45] Route callback: publishMessage
[2017/09/21 16:43:45] Body
{ broadcast: true,
data: { subject: 'hey ', body: 'hey' },
channel: 'nodejs_notify' }
[2017/09/21 16:43:45] broadcastMessage
{ broadcast: true,
data: { subject: 'hey ', body: 'hey' },
channel: 'nodejs_notify' }
내 구성 설정은 다음과 같습니다
settings = {
scheme: 'http',
port: 8888,
host: 'localhost',
resource: '/socket.io',
serviceKey: 'test',
backend: {
port: 80,
host: '178.62.13.67',
scheme: 'http',
basePath: '',
messagePath: '/nodejs/message'
},
debug: true,
sslKeyPath: '',
sslCertPath: '',
sslCAPath: '',
baseAuthPath: '/nodejs/',
extensions: [],
clientsCanWriteToChannels: false,
clientsCanWriteToClients: false,
transports: ['websocket', 'polling'],
jsMinification: true,
jsEtag: true,
logLevel: 1
};
내가 드루팔 8 플러그인의 알림 종류를 설치해야합니까?
알림 유형은 무엇입니까? 브라우저에서 HTML 5 Push Notification 팝업을 사용한다고 가정합니다.
누락 된 항목이 있습니까?
다른 사용자를 만들려고 시도했지만 다른 컴퓨터에서 확인했지만 운이 없었습니다. 알림 없음. 총 침묵.
나를 미치게합니다. 미리 감사드립니다.