Added SinaglR
This commit is contained in:
16
.kanbn/tasks/roll-out.md
Normal file
16
.kanbn/tasks/roll-out.md
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
---
|
||||
|
||||
# roll-out
|
||||
|
||||
- New page in the OI Viewer
|
||||
- Set ubuntu frame to new OI Viewer page
|
||||
- Does it refesh by it self?
|
||||
- EAF needs what for the batch field
|
||||
- SP1 needs to get the barcode from one of the two servers dependent on tool queued by EDA
|
||||
|
||||
## Sub-tasks
|
||||
|
||||
- [ ] phares3757
|
||||
- [ ] unity4
|
||||
- [ ] unity5
|
20
.kanbn/tasks/self-signed-certificate.md
Normal file
20
.kanbn/tasks/self-signed-certificate.md
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
---
|
||||
|
||||
# self-signed-certificate
|
||||
|
||||
```bash
|
||||
sudo -i
|
||||
nano /etc/hosts/
|
||||
apt-get install -y ca-certificates
|
||||
openssl s_client -showcerts -connect DESKTOP-H6JG91B:443 </dev/null 2>/dev/null|openssl x509 -outform PEM >DESKTOP-H6JG91B.crt
|
||||
cp /home/unity5/Barcode-Host/DESKTOP-H6JG91B.crt /usr/local/share/ca-certificates/DESKTOP-H6JG91B.crt
|
||||
update-ca-certificates
|
||||
exit
|
||||
```
|
||||
|
||||
## Sub-tasks
|
||||
|
||||
- [ ] phares3757
|
||||
- [ ] unity4
|
||||
- [x] unity5
|
@ -91,6 +91,11 @@ server {
|
||||
listen [::]:443 default_server ssl http2;
|
||||
location / {
|
||||
proxy_pass http://localhost:5003;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $http_connection;
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
21
.kanbn/tasks/signalr.md
Normal file
21
.kanbn/tasks/signalr.md
Normal file
@ -0,0 +1,21 @@
|
||||
---
|
||||
---
|
||||
|
||||
# signalr
|
||||
|
||||
- [Framework-4.5.1](https://learn.microsoft.com/en-us/aspnet/signalr/overview/getting-started/tutorial-getting-started-with-signalr?source=recommendations)
|
||||
- [OnNotificationReceivedAsync](https://learn.microsoft.com/en-us/training/modules/aspnet-core-signalr/3-how-signalr-works)
|
||||
|
||||
```bash
|
||||
# https://learn.microsoft.com/en-us/aspnet/core/tutorials/signalr?view=aspnetcore-7.0&tabs=visual-studio-code
|
||||
dotnet tool uninstall -g Microsoft.Web.LibraryManager.Cli
|
||||
dotnet tool install -g Microsoft.Web.LibraryManager.Cli
|
||||
libman install @microsoft/signalr@latest -p unpkg -d wwwroot/js/signalr --files dist/browser/signalr.js --files dist/browser/signalr.js
|
||||
# http://localhost:5003/notification
|
||||
```
|
||||
|
||||
## Sub-tasks
|
||||
|
||||
- [ ] phares3757
|
||||
- [ ] unity4
|
||||
- [ ] unity5
|
Reference in New Issue
Block a user