chore: SCADA 데모의 알람 target 작업자를 siflex_user 로 기본 박음
Build & Deploy to K8s / build-and-deploy (push) Has been cancelled
Build & Deploy to K8s / build-and-deploy (push) Has been cancelled
데스크톱이 /scada?worker=siflex_user query 매번 안 박아도 자동으로 작업자 폰(siflex_user)에 push. 다른 작업자 시험할 일 있으면 ?worker=<id> 로 override 여전히 가능. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -372,9 +372,9 @@
|
||||
|
||||
<script>
|
||||
// SCADA 데모 → 작업자 폰 push 의 target user_id.
|
||||
// 부모 라우트(/scada) 가 ?worker=<id> 를 iframe src 로 전달한다.
|
||||
// 미지정이면 fetch 호출 자체를 스킵 (로컬 시연 모드).
|
||||
window.SCADA_ALARM_TARGET = new URLSearchParams(location.search).get('worker') || '';
|
||||
// SI FLEX 베트남 PT 시연 한정 — 기본값 siflex_user 고정.
|
||||
// 다른 작업자로 시험할 일 있으면 ?worker=<id> query 로 override.
|
||||
window.SCADA_ALARM_TARGET = new URLSearchParams(location.search).get('worker') || 'siflex_user';
|
||||
</script>
|
||||
<script src="js/components.js"></script>
|
||||
<script src="js/topology.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user