generated from security-union/yew-actix-template
-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
95e9420
commit 0fdb32e
Showing
21 changed files
with
151 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
mariadb: | ||
enabled: true | ||
auth: | ||
rootPassword: YOUR_ROOT_PASSWORD | ||
database: matomo | ||
username: matomo | ||
password: YOUR_MATOMO_PASSWORD | ||
|
||
service: | ||
type: NodePort | ||
port: 80 | ||
nodePorts: | ||
http: 32000 | ||
https: 32443 | ||
|
||
ingress: | ||
enabled: true | ||
hostname: matomo.videocall.rs | ||
annotations: | ||
kubernetes.io/ingress.class: nginx | ||
cert-manager.io/issuer: letsencrypt-prod | ||
nginx.ingress.kubernetes.io/ssl-redirect: "true" | ||
tls: | ||
- hosts: | ||
- matomo.videocall.rs | ||
secretName: matomo-tls |
1 change: 0 additions & 1 deletion
1
...tock0_state/blobs/sha256/08751abf6348a21ab7f00ad14392dac4349fe23bf977e639aaefd2fb0239f5ea
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-4.3 MB
...tock0_state/blobs/sha256/3b1d2354a65299f651509bbb258b85ee0a5e074bb8af3c450b5f0dfb6adf51e2
Binary file not shown.
Binary file removed
BIN
-1.69 KB
...tock0_state/blobs/sha256/442ba446f94b680572e59f6f076fbdef793301102c825ae211b2246c605f9af5
Binary file not shown.
Binary file removed
BIN
-392 KB
...tock0_state/blobs/sha256/45c6c5f320e38d2aa1864b36caf40198b7cddcf8c77a7c26339f5c2e7594f0e2
Binary file not shown.
Binary file removed
BIN
-392 KB
...tock0_state/blobs/sha256/4daa4e094fa64ec2bbd3e3fc37eb66fe068b2e7827a1c8c11ce204585e05e11f
Binary file not shown.
Binary file removed
BIN
-32 Bytes
...tock0_state/blobs/sha256/4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Binary file not shown.
Binary file removed
BIN
-4.3 MB
...tock0_state/blobs/sha256/7341e416f6af4646c0ba47646a690b7646afad159888588c40ce3cd56f540adf
Binary file not shown.
1 change: 0 additions & 1 deletion
1
...tock0_state/blobs/sha256/7c2084ef72a9163fce828ced89efe3ffa8bc15f2b22868a16cf249229bcbf691
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...tock0_state/blobs/sha256/a687cbe181a8c6d2c86b141a94f32e7fcd0ff6ab0b91991584a1f22074798a76
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-27.8 MB
...tock0_state/blobs/sha256/aa6fbc30c84e14e64571d3d7b547ea801dfca8a7bd74bd930b5ea5de3eb2f442
Binary file not shown.
1 change: 0 additions & 1 deletion
1
...tock0_state/blobs/sha256/df521774fc04848b7f07c11b03a319ee85e8aa11b6bf2eb6f2bad4b6db6a710b
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-1.69 KB
...tock0_state/blobs/sha256/efc996aa95d2ea97b2fff109a6f8939e64971c2d79b4834dbf7461c5faddfffb
Binary file not shown.
1 change: 0 additions & 1 deletion
1
leptos-website/cachebuildx_buildkit_jovial_mcclintock0_state/oci-layout
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
use gloo_utils::window; | ||
use js_sys::Array; | ||
use js_sys::Reflect; | ||
use wasm_bindgen::prelude::*; | ||
use wasm_bindgen::JsValue; | ||
use web_sys::js_sys; | ||
|
||
#[wasm_bindgen] | ||
extern "C" { | ||
#[wasm_bindgen(js_namespace = window)] | ||
static _PAQ: Array; | ||
} | ||
|
||
pub struct MatomoTracker {} | ||
|
||
impl MatomoTracker { | ||
pub fn new() -> Self { | ||
Self {} | ||
} | ||
|
||
pub fn push(&self, args: &JsValue) { | ||
let method: js_sys::Function = js_sys::Reflect::get(&_PAQ, &"push".into()).unwrap().into(); | ||
let _ = method.call1(&JsValue::NULL, args); | ||
} | ||
|
||
pub fn track_page_view(&self, title: &str, url: &str) { | ||
if !Reflect::has(&window(), &"_paq".into()).unwrap_or(false) { | ||
return; | ||
} | ||
// Create an array with commands | ||
let array = js_sys::Array::new(); | ||
|
||
array.push(&JsValue::from_str("setCustomUrl")); | ||
array.push(&JsValue::from_str(url)); | ||
self.push(&array.into()); | ||
|
||
let array = js_sys::Array::new(); | ||
array.push(&JsValue::from_str("setDocumentTitle")); | ||
array.push(&JsValue::from_str(title)); | ||
self.push(&array.into()); | ||
|
||
let array = js_sys::Array::new(); | ||
array.push(&JsValue::from_str("trackPageView")); | ||
// Call the push method with the command array | ||
self.push(&array.into()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters