media src added to config

This commit is contained in:
Sergey Kurdin 2024-06-23 11:05:42 -04:00
parent 20efb870d3
commit 24f0a807f6
29 changed files with 8 additions and 10 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 KiB

View File

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<svg viewBox="0 0 24 24" width="24px" height="24px" xmlns="http://www.w3.org/2000/svg">
<path d="M 12.887 0.216 C 14.251 0.216 15.374 1.247 15.519 2.573 L 17.596 2.573 C 18.99 2.572 20.146 3.651 20.241 5.042 L 20.247 5.223 C 20.246 5.664 19.921 6.037 19.485 6.098 L 19.362 6.107 C 18.921 6.106 18.549 5.781 18.488 5.345 L 18.48 5.223 C 18.48 4.782 18.154 4.408 17.716 4.348 L 17.596 4.34 L 15.084 4.34 C 14.593 5.072 13.769 5.51 12.887 5.51 L 8.757 5.51 C 7.875 5.511 7.051 5.072 6.559 4.341 L 4.048 4.34 C 3.606 4.34 3.232 4.666 3.172 5.103 L 3.164 5.223 L 3.164 21.134 C 3.164 21.582 3.496 21.951 3.927 22.009 L 4.048 22.018 L 7.582 22.018 C 8.023 22.018 8.397 22.343 8.457 22.78 L 8.466 22.9 C 8.466 23.388 8.07 23.784 7.582 23.784 L 4.048 23.784 C 2.654 23.784 1.499 22.706 1.403 21.316 L 1.397 21.134 L 1.397 5.223 C 1.397 3.83 2.476 2.674 3.866 2.578 L 4.048 2.573 L 6.125 2.573 C 6.273 1.231 7.407 0.216 8.757 0.216 L 12.887 0.216 Z M 19.952 7.285 C 21.346 7.285 22.502 8.364 22.597 9.754 L 22.603 9.936 L 22.603 21.128 C 22.603 22.522 21.524 23.678 20.134 23.773 L 19.952 23.779 L 12.295 23.779 C 10.901 23.779 9.745 22.7 9.65 21.31 L 9.644 21.128 L 9.644 9.936 C 9.644 8.542 10.723 7.386 12.113 7.291 L 12.295 7.285 L 19.952 7.285 Z M 19.952 9.052 L 12.295 9.052 C 11.853 9.052 11.479 9.378 11.419 9.816 L 11.411 9.936 L 11.411 21.128 C 11.411 21.576 11.743 21.946 12.174 22.004 L 12.295 22.012 L 19.952 22.012 C 20.394 22.012 20.768 21.686 20.828 21.248 L 20.836 21.128 L 20.836 9.936 C 20.836 9.494 20.51 9.121 20.073 9.061 L 19.952 9.052 Z M 12.887 1.983 L 8.757 1.983 C 8.08 2.008 7.683 2.757 8.043 3.331 C 8.198 3.578 8.465 3.732 8.757 3.742 L 12.887 3.742 C 13.564 3.767 14.014 3.05 13.697 2.451 C 13.539 2.153 13.224 1.971 12.887 1.983 Z" style="visibility: hidden;"/>
<g fill="none" stroke="#888888" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" transform="matrix(0.166612, 0, 0, 0.166612, 14.40597, 11.442867)" style="visibility: hidden;"/>
<g style="" transform="matrix(0.764827, 0, 0, 0.764827, 2.823834, 2.82207)">
<path d="M 12.886 0.233 C 14.248 0.233 15.368 1.262 15.514 2.587 L 17.588 2.587 C 18.98 2.587 20.133 3.663 20.229 5.053 L 20.235 5.234 C 20.234 5.673 19.91 6.047 19.474 6.106 L 19.351 6.116 C 18.911 6.116 18.538 5.791 18.479 5.354 L 18.47 5.234 C 18.47 4.794 18.145 4.42 17.707 4.358 L 17.588 4.35 L 15.08 4.35 C 14.588 5.083 13.765 5.52 12.886 5.519 L 8.761 5.519 C 7.881 5.52 7.058 5.083 6.567 4.351 L 4.059 4.35 C 3.617 4.35 3.245 4.677 3.185 5.114 L 3.176 5.234 L 3.176 21.121 C 3.176 21.569 3.508 21.936 3.939 21.995 L 4.059 22.004 L 7.587 22.004 C 8.027 22.004 8.402 22.329 8.463 22.765 L 8.471 22.885 C 8.471 23.372 8.075 23.767 7.587 23.767 L 4.059 23.767 C 2.666 23.768 1.512 22.691 1.418 21.303 L 1.412 21.121 L 1.412 5.234 C 1.412 3.841 2.488 2.687 3.878 2.592 L 4.059 2.587 L 6.133 2.587 C 6.281 1.247 7.412 0.233 8.761 0.233 L 12.886 0.233 Z M 12.886 1.998 L 8.761 1.998 C 8.084 2.023 7.689 2.771 8.048 3.344 C 8.203 3.59 8.47 3.744 8.761 3.754 L 12.886 3.754 C 13.562 3.779 14.011 3.064 13.693 2.465 C 13.535 2.167 13.223 1.986 12.886 1.998 Z" style="fill: rgb(255, 193, 49);"/>
</g>
<ellipse style="fill: rgb(255, 0, 0); stroke: rgb(255, 0, 0); visibility: hidden;" cx="20.396" cy="3.588" rx="2.577" ry="2.577"/>
<path d="M 18.086 8.404 C 19.151 8.404 20.034 9.228 20.107 10.289 L 20.111 10.428 L 20.111 18.975 C 20.111 20.04 19.288 20.923 18.224 20.995 L 18.086 21 L 12.238 21 C 11.173 21 10.291 20.176 10.217 19.114 L 10.214 18.975 L 10.214 10.428 C 10.214 9.364 11.037 8.48 12.099 8.408 L 12.238 8.404 L 18.086 8.404 Z M 12.308 12.418 C 12.308 12.418 12.295 12.4 12.318 12.466 C 12.348 12.524 12.407 12.617 12.451 12.661 C 12.49 12.699 12.563 12.743 12.607 12.766 C 12.65 12.78 12.739 12.8 12.794 12.805 L 17.727 12.805 C 17.76 12.804 17.814 12.795 17.848 12.788 C 17.875 12.779 17.93 12.758 17.961 12.743 C 17.992 12.724 18.047 12.685 18.071 12.661 C 18.1 12.632 18.143 12.577 18.163 12.546 C 18.204 12.454 18.253 12.275 18.261 12.177 C 18.248 12.079 18.205 11.926 18.167 11.845 C 18.119 11.778 18.032 11.68 17.968 11.644 C 17.912 11.611 17.801 11.584 17.727 11.578 L 12.794 11.578 C 12.744 11.582 12.663 11.597 12.611 11.615 C 12.563 11.64 12.492 11.686 12.451 11.722 C 12.417 11.758 12.353 11.851 12.317 11.919 C 12.293 11.99 12.267 12.113 12.261 12.19 L 12.308 12.418 Z M 12.308 15.004 C 12.308 15.004 12.295 14.986 12.318 15.052 C 12.348 15.11 12.407 15.203 12.451 15.247 C 12.49 15.285 12.563 15.329 12.607 15.351 C 12.65 15.366 12.739 15.386 12.794 15.39 L 17.727 15.39 C 17.76 15.39 17.814 15.381 17.848 15.374 C 17.875 15.364 17.93 15.344 17.961 15.329 C 17.992 15.309 18.047 15.27 18.071 15.247 C 18.1 15.218 18.143 15.163 18.163 15.132 C 18.204 15.039 18.253 14.86 18.261 14.763 C 18.248 14.665 18.205 14.512 18.167 14.431 C 18.119 14.364 18.032 14.266 17.968 14.229 C 17.912 14.197 17.801 14.17 17.727 14.164 L 12.794 14.164 C 12.744 14.168 12.663 14.183 12.611 14.2 C 12.563 14.226 12.492 14.272 12.451 14.307 C 12.417 14.343 12.353 14.437 12.317 14.505 C 12.293 14.576 12.267 14.699 12.261 14.776 L 12.308 15.004 Z M 12.308 17.589 C 12.308 17.589 12.295 17.571 12.318 17.637 C 12.348 17.695 12.407 17.788 12.451 17.832 C 12.49 17.87 12.563 17.914 12.607 17.937 C 12.65 17.951 12.739 17.971 12.794 17.976 L 17.727 17.976 C 17.76 17.975 17.814 17.966 17.848 17.959 C 17.875 17.95 17.93 17.929 17.961 17.914 C 17.992 17.895 18.047 17.856 18.071 17.832 C 18.1 17.803 18.143 17.748 18.163 17.717 C 18.204 17.625 18.253 17.446 18.261 17.348 C 18.248 17.25 18.205 17.097 18.167 17.016 C 18.119 16.949 18.032 16.851 17.968 16.815 C 17.912 16.782 17.801 16.755 17.727 16.749 L 12.794 16.749 C 12.744 16.753 12.663 16.768 12.611 16.786 C 12.563 16.811 12.492 16.857 12.451 16.893 C 12.417 16.929 12.353 17.022 12.317 17.09 C 12.293 17.161 12.267 17.284 12.261 17.361 L 12.308 17.589 Z" style="fill: rgb(36, 200, 219);"/>
</svg>

Before

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<g style="" transform="matrix(0.9407800436019897, 0, 0, 0.9407800436019897, 0.8417610526084898, 0.7106379270553588)">
<path d="M 12.886 0.233 C 14.248 0.233 15.368 1.262 15.514 2.587 L 17.588 2.587 C 18.98 2.587 20.133 3.663 20.229 5.053 L 20.235 5.234 C 20.234 5.673 19.91 6.047 19.474 6.106 L 19.351 6.116 C 18.911 6.116 18.538 5.791 18.479 5.354 L 18.47 5.234 C 18.47 4.794 18.145 4.42 17.707 4.358 L 17.588 4.35 L 15.08 4.35 C 14.588 5.083 13.765 5.52 12.886 5.519 L 8.761 5.519 C 7.881 5.52 7.058 5.083 6.567 4.351 L 4.059 4.35 C 3.617 4.35 3.245 4.677 3.185 5.114 L 3.176 5.234 L 3.176 21.121 C 3.176 21.569 3.508 21.936 3.939 21.995 L 4.059 22.004 L 7.587 22.004 C 8.027 22.004 8.402 22.329 8.463 22.765 L 8.471 22.885 C 8.471 23.372 8.075 23.767 7.587 23.767 L 4.059 23.767 C 2.666 23.768 1.512 22.691 1.418 21.303 L 1.412 21.121 L 1.412 5.234 C 1.412 3.841 2.488 2.687 3.878 2.592 L 4.059 2.587 L 6.133 2.587 C 6.281 1.247 7.412 0.233 8.761 0.233 L 12.886 0.233 Z M 12.886 1.998 L 8.761 1.998 C 8.084 2.023 7.689 2.771 8.048 3.344 C 8.203 3.59 8.47 3.744 8.761 3.754 L 12.886 3.754 C 13.562 3.779 14.011 3.064 13.693 2.465 C 13.535 2.167 13.223 1.986 12.886 1.998 Z" style="fill: rgb(255, 183, 16);"/>
</g>
<path d="M 19.615 7.577 C 20.925 7.577 22.011 8.59 22.101 9.895 L 22.106 10.066 L 22.106 20.58 C 22.106 21.89 21.094 22.976 19.785 23.064 L 19.615 23.07 L 12.422 23.07 C 11.112 23.07 10.027 22.057 9.936 20.751 L 9.932 20.58 L 9.932 10.066 C 9.932 8.758 10.944 7.67 12.251 7.582 L 12.422 7.577 L 19.615 7.577 Z M 12.508 12.514 C 12.508 12.514 12.492 12.492 12.52 12.573 C 12.557 12.645 12.63 12.759 12.684 12.813 C 12.732 12.86 12.821 12.914 12.876 12.942 C 12.928 12.959 13.038 12.984 13.106 12.99 L 19.173 12.99 C 19.214 12.989 19.28 12.978 19.322 12.969 C 19.356 12.958 19.423 12.932 19.461 12.914 C 19.499 12.891 19.567 12.843 19.597 12.813 C 19.632 12.777 19.685 12.71 19.71 12.672 C 19.76 12.558 19.82 12.338 19.83 12.218 C 19.814 12.097 19.761 11.909 19.715 11.809 C 19.656 11.727 19.549 11.606 19.47 11.562 C 19.401 11.522 19.265 11.488 19.173 11.481 L 13.106 11.481 C 13.044 11.486 12.944 11.504 12.881 11.526 C 12.821 11.557 12.734 11.614 12.684 11.658 C 12.642 11.702 12.563 11.817 12.519 11.9 C 12.489 11.988 12.457 12.139 12.45 12.234 L 12.508 12.514 Z M 12.508 15.695 C 12.508 15.695 12.492 15.673 12.52 15.754 C 12.557 15.825 12.63 15.94 12.684 15.994 C 12.732 16.041 12.821 16.095 12.876 16.122 C 12.928 16.14 13.038 16.165 13.106 16.17 L 19.173 16.17 C 19.214 16.17 19.28 16.159 19.322 16.15 C 19.356 16.138 19.423 16.113 19.461 16.095 C 19.499 16.07 19.567 16.022 19.597 15.994 C 19.632 15.958 19.685 15.891 19.71 15.853 C 19.76 15.738 19.82 15.518 19.83 15.399 C 19.814 15.278 19.761 15.09 19.715 14.99 C 19.656 14.908 19.549 14.787 19.47 14.742 C 19.401 14.702 19.265 14.669 19.173 14.662 L 13.106 14.662 C 13.044 14.667 12.944 14.685 12.881 14.706 C 12.821 14.738 12.734 14.795 12.684 14.838 C 12.642 14.882 12.563 14.998 12.519 15.081 C 12.489 15.169 12.457 15.32 12.45 15.415 L 12.508 15.695 Z M 12.508 18.875 C 12.508 18.875 12.492 18.853 12.52 18.934 C 12.557 19.005 12.63 19.12 12.684 19.174 C 12.732 19.22 12.821 19.275 12.876 19.303 C 12.928 19.32 13.038 19.345 13.106 19.351 L 19.173 19.351 C 19.214 19.35 19.28 19.339 19.322 19.33 C 19.356 19.319 19.423 19.293 19.461 19.275 C 19.499 19.251 19.567 19.203 19.597 19.174 C 19.632 19.138 19.685 19.07 19.71 19.032 C 19.76 18.919 19.82 18.699 19.83 18.578 C 19.814 18.458 19.761 18.27 19.715 18.17 C 19.656 18.088 19.549 17.967 19.47 17.923 C 19.401 17.882 19.265 17.849 19.173 17.842 L 13.106 17.842 C 13.044 17.846 12.944 17.865 12.881 17.887 C 12.821 17.918 12.734 17.974 12.684 18.019 C 12.642 18.063 12.563 18.177 12.519 18.261 C 12.489 18.348 12.457 18.5 12.45 18.594 L 12.508 18.875 Z" style="fill: rgb(33, 199, 218);" transform="matrix(0.9999999999999999, 0, 0, 0.9999999999999999, 0, 0)"/>
</svg>

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

BIN
src-tauri/icons/_icon.icns Normal file

Binary file not shown.

Binary file not shown.

View File

@ -88,6 +88,7 @@
"frame-src": "'self' https://*.pastebar.app https://*.pastebar.ru https://*.paypal.com",
"img-src": "'self' asset: https://asset.localhost blob: data: *",
"img-srcset": "'self' asset: https://asset.localhost blob: data:",
"media-src": "'self' asset: https://asset.localhost blob: data: *",
"style-src": "'unsafe-inline' 'self' asset: https://asset.localhost",
"script-src": "'self' 'wasm-unsafe-eval' asset: https://*.pastebar.app"
}