fix(infra): Fix routing config (#2741)
Describe what your pull request does. If appropriate, add GIFs or images showing the before and after. ### Change Type - [x] `internal` — Any other changes that don't affect the published package[^2] [^1]: publishes a `patch` release, for devDependencies use `internal` [^2]: will not publish a new version
|
@ -49,7 +49,7 @@ export const metadata: Metadata = {
|
|||
{ rel: 'shortcut icon', url: '/favicon.svg' },
|
||||
{ rel: 'icon', url: 'favicon-32x32.svg', sizes: '32x32' },
|
||||
{ rel: 'icon', url: 'favicon-16x16.svg', sizes: '16x16' },
|
||||
{ rel: 'apple-touch-icon', url: 'touch-icon-iphone.png' },
|
||||
{ rel: 'apple-touch-icon', url: 'apple-touch-icon.png' },
|
||||
{ rel: 'apple-touch-icon', url: 'apple-touch-icon-152x152.svg', sizes: '152x152' },
|
||||
{ rel: 'apple-touch-icon', url: 'apple-touch-icon-180x180.svg', sizes: '180x180' },
|
||||
{ rel: 'apple-touch-icon', url: 'apple-touch-icon-167x167.svg', sizes: '167x167' },
|
||||
|
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
apps/docs/public/apple-touch-icon.png
Normal file
After Width: | Height: | Size: 2 KiB |
|
@ -21,10 +21,10 @@
|
|||
<meta name="msapplication-TileColor" content="#FFFFFF" />
|
||||
<meta name="msapplication-tap-highlight" content="no" />
|
||||
|
||||
<link rel="apple-touch-icon" href="/touch-icon-iphone.png" />
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png" />
|
||||
<link rel="apple-touch-icon" sizes="167x167" href="/apple-touch-icon-167x167.png" />
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.svg" />
|
||||
<link rel="apple-touch-icon" sizes="167x167" href="/apple-touch-icon-167x167.svg" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.svg" />
|
||||
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="twitter:url" content="https://www.tldraw.com/" />
|
||||
|
|
11
apps/dotcom/public/apple-touch-icon-152x152.svg
Normal file
|
@ -0,0 +1,11 @@
|
|||
<svg width="153" height="152" viewBox="0 0 153 152" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_1094_102913)">
|
||||
<path d="M0.501953 16.7033C0.501953 7.47832 7.6654 0 16.502 0H136.502C145.339 0 152.502 7.47832 152.502 16.7033V135.297C152.502 144.522 145.339 152 136.502 152H16.502C7.6654 152 0.501953 144.522 0.501953 135.297V16.7033Z" fill="white"/>
|
||||
<path d="M89.0482 43.4721C89.0482 47.1455 87.7927 50.2624 85.2816 52.8226C82.7705 55.3829 79.7136 56.663 76.1107 56.663C72.3987 56.663 69.2872 55.3829 66.7761 52.8226C64.265 50.2624 63.0095 47.1455 63.0095 43.4721C63.0095 39.7987 64.265 36.6819 66.7761 34.1216C69.2872 31.5614 72.3987 30.2812 76.1107 30.2812C79.7136 30.2812 82.7705 31.5614 85.2816 34.1216C87.7927 36.6819 89.0482 39.7987 89.0482 43.4721ZM62.8457 89.7004C62.8457 86.027 64.1012 82.9102 66.6123 80.3499C69.2326 77.6783 72.3987 76.3425 76.1107 76.3425C79.6044 76.3425 82.6614 77.6783 85.2816 80.3499C87.9019 82.9102 89.4304 85.8043 89.8671 89.0325C90.7405 95.0435 89.6487 100.999 86.5917 106.899C83.644 112.798 79.3861 117.307 73.818 120.423C70.7611 122.204 68.25 122.149 66.2848 120.256C64.4288 118.475 64.9747 116.36 67.9224 113.911C69.5601 112.687 70.9248 111.129 72.0166 109.236C73.1084 107.344 73.818 105.396 74.1455 103.392C74.2547 102.502 73.8726 102.056 72.9992 102.056C70.8156 101.945 68.5775 100.721 66.2848 98.383C63.9921 96.0454 62.8457 93.1512 62.8457 89.7004Z" fill="black"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_1094_102913">
|
||||
<rect width="152" height="152" fill="white" transform="translate(0.501953)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
11
apps/dotcom/public/apple-touch-icon-167x167.svg
Normal file
|
@ -0,0 +1,11 @@
|
|||
<svg width="167" height="167" viewBox="0 0 167 167" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_1479_150768)">
|
||||
<path d="M0 18.3516C0 8.21631 7.87036 0 17.5789 0H149.421C159.13 0 167 8.21631 167 18.3516V148.648C167 158.784 159.13 167 149.421 167H17.579C7.87037 167 0 158.784 0 148.648V18.3516Z" fill="white"/>
|
||||
<path d="M97.2844 47.7621C97.2844 51.7981 95.905 55.2225 93.1461 58.0354C90.3872 60.8483 87.0286 62.2547 83.0702 62.2547C78.9918 62.2547 75.5732 60.8483 72.8143 58.0354C70.0555 55.2225 68.676 51.7981 68.676 47.7621C68.676 43.7262 70.0555 40.3018 72.8143 37.4889C75.5732 34.676 78.9918 33.2695 83.0702 33.2695C87.0286 33.2695 90.3872 34.676 93.1461 37.4889C95.905 40.3018 97.2844 43.7262 97.2844 47.7621ZM68.4961 98.5524C68.4961 94.5165 69.8755 91.0921 72.6344 88.2792C75.5132 85.344 78.9918 83.8763 83.0702 83.8763C86.9086 83.8763 90.2673 85.344 93.1461 88.2792C96.0249 91.0921 97.7042 94.2719 98.184 97.8186C99.1436 104.423 97.9441 110.966 94.5855 117.448C91.3468 123.93 86.6687 128.883 80.5512 132.307C77.1926 134.264 74.4337 134.203 72.2746 132.124C70.2354 130.167 70.8351 127.843 74.0738 125.153C75.8731 123.807 77.3725 122.095 78.572 120.016C79.7715 117.937 80.5512 115.797 80.9111 113.595C81.031 112.617 80.6112 112.128 79.6516 112.128C77.2525 112.005 74.7935 110.66 72.2746 108.092C69.7556 105.524 68.4961 102.344 68.4961 98.5524Z" fill="black"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_1479_150768">
|
||||
<rect width="167" height="167" fill="black"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
11
apps/dotcom/public/apple-touch-icon-180x180.svg
Normal file
|
@ -0,0 +1,11 @@
|
|||
<svg width="181" height="180" viewBox="0 0 181 180" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_1094_102911)">
|
||||
<path d="M0.501953 19.7802C0.501953 8.85591 8.98498 0 19.4493 0H161.555C172.019 0 180.502 8.85591 180.502 19.7802V160.22C180.502 171.144 172.019 180 161.555 180H19.4493C8.98498 180 0.501953 171.144 0.501953 160.22V19.7802Z" fill="white"/>
|
||||
<path d="M105.359 51.4801C105.359 55.8302 103.873 59.5212 100.899 62.5531C97.9253 65.585 94.3052 67.1009 90.0387 67.1009C85.6428 67.1009 81.9581 65.585 78.9845 62.5531C76.0108 59.5212 74.524 55.8302 74.524 51.4801C74.524 47.1301 76.0108 43.4391 78.9845 40.4072C81.9581 37.3753 85.6428 35.8594 90.0387 35.8594C94.3052 35.8594 97.9253 37.3753 100.899 40.4072C103.873 43.4391 105.359 47.1301 105.359 51.4801ZM74.3301 106.224C74.3301 101.874 75.8169 98.1831 78.7905 95.1512C81.8935 91.9875 85.6428 90.4056 90.0387 90.4056C94.1759 90.4056 97.796 91.9875 100.899 95.1512C104.002 98.1831 105.812 101.61 106.329 105.433C107.363 112.552 106.07 119.604 102.45 126.59C98.9596 133.577 93.9173 138.916 87.3236 142.607C83.7035 144.716 80.7299 144.65 78.4027 142.409C76.2048 140.3 76.8512 137.795 80.342 134.895C82.2813 133.445 83.8974 131.6 85.1903 129.359C86.4832 127.118 87.3236 124.811 87.7115 122.438C87.8408 121.384 87.3882 120.856 86.3539 120.856C83.7682 120.724 81.1177 119.274 78.4027 116.506C75.6876 113.738 74.3301 110.311 74.3301 106.224Z" fill="black"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_1094_102911">
|
||||
<rect width="180" height="180" fill="white" transform="translate(0.501953)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 2.1 KiB |
|
@ -40,10 +40,11 @@ async function build() {
|
|||
},
|
||||
// serve static files
|
||||
{
|
||||
handle: 'filesystem',
|
||||
handle: 'miss',
|
||||
},
|
||||
// finally handle SPA routing
|
||||
{
|
||||
check: true,
|
||||
src: '.*',
|
||||
dest: '/index.html',
|
||||
},
|
||||
|
|