add logo and update links to api
This commit is contained in:
parent
bee5af5024
commit
dec845927a
3 changed files with 74 additions and 2 deletions
63
hohoho.svg
Normal file
63
hohoho.svg
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg width="100%" height="100%" viewBox="0 0 2048 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
||||||
|
<g transform="matrix(1.15826,0,0,1.15826,-155.188,96.8295)">
|
||||||
|
<g transform="matrix(331.307,0,0,331.307,1638.8,256)">
|
||||||
|
<path d="M0.113,-0.178L0.086,-0.557L0.086,-0.716L0.195,-0.716L0.195,-0.557L0.169,-0.178L0.113,-0.178ZM0.09,-0L0.09,-0.1L0.191,-0.1L0.191,-0L0.09,-0Z" style="fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(1,0,0,1,-372.334,69.6541)">
|
||||||
|
<g transform="matrix(300.355,0,0,300.355,1010.04,289.668)">
|
||||||
|
<path d="M0.096,-0L0.182,-0L0.182,-0.322L0.434,-0.322L0.434,-0L0.52,-0L0.52,-0.7L0.434,-0.7L0.434,-0.404L0.182,-0.404L0.182,-0.7L0.096,-0.7L0.096,-0Z" style="fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(300.355,0,0,300.355,1195.06,289.668)">
|
||||||
|
<path d="M0.308,0.012C0.453,0.012 0.547,-0.089 0.547,-0.256C0.547,-0.424 0.453,-0.523 0.308,-0.523C0.164,-0.523 0.069,-0.421 0.069,-0.255C0.069,-0.087 0.164,0.012 0.308,0.012ZM0.308,-0.067C0.209,-0.067 0.156,-0.139 0.156,-0.255C0.156,-0.376 0.209,-0.445 0.308,-0.445C0.408,-0.445 0.46,-0.372 0.46,-0.256C0.46,-0.139 0.405,-0.067 0.308,-0.067Z" style="fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(300.355,0,0,300.355,1380.08,289.668)">
|
||||||
|
<path d="M0.096,-0L0.182,-0L0.182,-0.322L0.434,-0.322L0.434,-0L0.52,-0L0.52,-0.7L0.434,-0.7L0.434,-0.404L0.182,-0.404L0.182,-0.7L0.096,-0.7L0.096,-0Z" style="fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(300.355,0,0,300.355,1565.1,289.668)">
|
||||||
|
<path d="M0.308,0.012C0.453,0.012 0.547,-0.089 0.547,-0.256C0.547,-0.424 0.453,-0.523 0.308,-0.523C0.164,-0.523 0.069,-0.421 0.069,-0.255C0.069,-0.087 0.164,0.012 0.308,0.012ZM0.308,-0.067C0.209,-0.067 0.156,-0.139 0.156,-0.255C0.156,-0.376 0.209,-0.445 0.308,-0.445C0.408,-0.445 0.46,-0.372 0.46,-0.256C0.46,-0.139 0.405,-0.067 0.308,-0.067Z" style="fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(300.355,0,0,300.355,1750.11,289.668)">
|
||||||
|
<path d="M0.096,-0L0.182,-0L0.182,-0.322L0.434,-0.322L0.434,-0L0.52,-0L0.52,-0.7L0.434,-0.7L0.434,-0.404L0.182,-0.404L0.182,-0.7L0.096,-0.7L0.096,-0Z" style="fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(300.355,0,0,300.355,1935.13,289.668)">
|
||||||
|
<path d="M0.308,0.012C0.453,0.012 0.547,-0.089 0.547,-0.256C0.547,-0.424 0.453,-0.523 0.308,-0.523C0.164,-0.523 0.069,-0.421 0.069,-0.255C0.069,-0.087 0.164,0.012 0.308,0.012ZM0.308,-0.067C0.209,-0.067 0.156,-0.139 0.156,-0.255C0.156,-0.376 0.209,-0.445 0.308,-0.445C0.408,-0.445 0.46,-0.372 0.46,-0.256C0.46,-0.139 0.405,-0.067 0.308,-0.067Z" style="fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g id="Santa_Hat" transform="matrix(1.23208,0,0,1.23208,-100.544,11.106)">
|
||||||
|
<g transform="matrix(0.551858,0,0,0.551858,180.426,238.445)">
|
||||||
|
<g transform="matrix(331.307,0,0,331.307,83.6584,195.593)">
|
||||||
|
<path d="M0.231,0.13L0.455,0.13L0.455,0.052L0.316,0.052L0.316,-0.634L0.455,-0.634L0.455,-0.712L0.231,-0.712L0.231,0.13Z" style="fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(331.307,0,0,331.307,204.917,195.593)">
|
||||||
|
<path d="M0.351,-0.301L0.543,-0.301L0.543,-0.384L0.351,-0.384L0.351,-0.578L0.264,-0.578L0.264,-0.384L0.073,-0.384L0.073,-0.301L0.264,-0.301L0.264,-0.108L0.351,-0.108L0.351,-0.301Z" style="fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(331.307,0,0,331.307,326.175,195.593)">
|
||||||
|
<path d="M0.308,0.014C0.347,0.014 0.376,-0.019 0.376,-0.054C0.376,-0.09 0.347,-0.122 0.308,-0.122C0.269,-0.122 0.24,-0.09 0.24,-0.054C0.24,-0.019 0.269,0.014 0.308,0.014Z" style="fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(331.307,0,0,331.307,447.434,195.593)">
|
||||||
|
<path d="M0.45,0.13L0.45,-0.712L0.226,-0.712L0.226,-0.634L0.365,-0.634L0.365,0.052L0.226,0.052L0.226,0.13L0.45,0.13Z" style="fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g transform="matrix(10.9789,0,0,10.9789,274.954,16.4954)">
|
||||||
|
<path d="M10.501,22.5C14.751,22.5 19.501,21.25 19.501,20C19.501,18.75 18.591,18.66 18.591,18C18.591,17.34 19.051,16.94 19.051,16C19.157,15.284 18.663,14.618 17.947,14.512C17.859,14.499 17.77,14.495 17.681,14.5C17.681,14.5 19.151,17.5 10.511,17.5C1.871,17.5 3.341,14.5 3.341,14.5C2.631,14.5 1.511,14.91 1.511,16C1.511,16.94 1.971,17.34 1.971,18C1.971,18.66 1.511,18.75 1.511,20C1.511,21.25 6.251,22.5 10.501,22.5Z" style="fill:rgb(248,248,248);fill-rule:nonzero;"/>
|
||||||
|
<path d="M3.001,20C3.001,18.75 3.381,18.66 3.381,18C3.381,17.34 3.001,16.94 3.001,16C2.998,15.704 3.085,15.415 3.251,15.17C3.216,14.944 3.243,14.712 3.331,14.5C2.621,14.5 1.501,14.91 1.501,16C1.501,16.94 1.961,17.34 1.961,18C1.961,18.66 1.501,18.75 1.501,20C1.501,21 4.381,21.94 7.651,22.33C5.131,21.88 3.001,20.92 3.001,20Z" style="fill:white;fill-rule:nonzero;"/>
|
||||||
|
<path d="M18.591,18C18.591,17.34 19.051,16.94 19.051,16C19.157,15.284 18.663,14.618 17.947,14.512C17.859,14.499 17.77,14.495 17.681,14.5C17.83,14.872 17.801,15.292 17.601,15.64C17.609,15.76 17.609,15.88 17.601,16C17.601,16.94 17.221,17.34 17.221,18C17.221,18.66 17.981,18.75 17.981,20C17.981,20.92 15.851,21.88 13.331,22.33C16.621,21.94 19.501,21 19.501,20C19.501,18.75 18.591,18.66 18.591,18Z" style="fill-opacity:0.1;fill-rule:nonzero;"/>
|
||||||
|
<path d="M17.001,2.5C15.74,1.818 14.324,1.473 12.891,1.5C11.117,1.508 9.592,2.761 9.241,4.5C7.611,4.5 5.151,7.59 5.151,10C5.149,11.681 4.492,13.295 3.321,14.5C3.356,15.516 3.994,16.413 4.941,16.78C6.738,17.345 8.62,17.589 10.501,17.5C15.681,17.5 17.231,16.42 17.641,15.56C17.793,15.223 17.793,14.837 17.641,14.5C17.062,13.806 16.827,12.887 17.001,12C17.005,11.828 17.025,11.658 17.061,11.49C17.061,11.38 17.061,11.26 17.141,11.15C17.314,10.615 17.421,10.061 17.461,9.5C17.473,9.145 17.45,8.79 17.391,8.44L17.391,8.34L17.431,8C17.661,7.75 18.431,8.36 18.741,8.22C19.051,8.08 19.191,7 19.531,7C19.871,7 20.021,8 20.321,8.17L20.501,8L20.671,8C20.52,5.642 19.121,3.544 17.001,2.5Z" style="fill:rgb(213,28,41);fill-rule:nonzero;"/>
|
||||||
|
<path d="M4.431,16.08C4.354,15.772 4.428,15.445 4.631,15.2C5.63,14.029 6.176,12.539 6.171,11C6.171,8.76 8.331,5.9 10.001,5.55C10.22,5.487 10.393,5.318 10.461,5.1C10.88,3.739 12.05,2.744 13.461,2.55C13.682,2.512 13.906,2.491 14.131,2.49C15.564,2.463 16.98,2.808 18.241,3.49C18.475,3.586 18.699,3.703 18.911,3.84C18.378,3.262 17.726,2.805 17.001,2.5C15.74,1.818 14.324,1.473 12.891,1.5C11.282,1.495 9.862,2.549 9.401,4.09C9.333,4.308 9.16,4.477 8.941,4.54C7.311,4.88 5.151,7.74 5.151,10C5.151,11.532 4.605,13.014 3.611,14.18C3.408,14.425 3.334,14.752 3.411,15.06C3.593,15.723 4.037,16.283 4.641,16.61C4.551,16.442 4.481,16.264 4.431,16.08Z" style="fill:white;fill-opacity:0.2;fill-rule:nonzero;"/>
|
||||||
|
<path d="M17.381,8.31L17.431,8C17.661,7.75 18.431,8.36 18.741,8.22C19.051,8.08 19.191,7 19.531,7C19.871,7 20.021,8 20.321,8.17C20.621,8.34 21.401,7.7 21.631,8C21.861,8.3 21.301,9.1 21.431,9.44C21.561,9.78 22.501,9.93 22.501,10.3C22.501,10.67 21.551,10.84 21.431,11.16C21.311,11.48 21.861,12.34 21.631,12.6C21.401,12.86 20.631,12.24 20.321,12.38C20.011,12.52 19.871,13.55 19.531,13.55C19.191,13.55 19.041,12.55 18.741,12.38C18.441,12.21 17.741,12.8 17.431,12.6C17.121,12.4 17.431,11.6 17.151,11.19" style="fill:rgb(248,248,248);fill-rule:nonzero;"/>
|
||||||
|
<g>
|
||||||
|
<path d="M17.081,11.49C17.038,11.657 17.011,11.828 17.001,12C17.012,11.828 17.038,11.657 17.081,11.49Z" style="fill:none;fill-rule:nonzero;"/>
|
||||||
|
<path d="M17.161,11.15C17.161,11.27 17.111,11.38 17.081,11.49C17.111,11.38 17.131,11.26 17.161,11.15Z" style="fill-opacity:0.1;fill-rule:nonzero;"/>
|
||||||
|
<path d="M17.001,12C17.005,11.828 17.025,11.658 17.061,11.49C17.061,11.38 17.061,11.26 17.141,11.15C17.314,10.615 17.421,10.061 17.461,9.5C17.473,9.145 17.45,8.79 17.391,8.44C17.136,7.434 16.437,6.598 15.491,6.17C15.741,7.006 15.839,7.88 15.781,8.75C15.781,9.67 15.321,10.66 15.321,11.48C15.406,12.274 15.58,13.056 15.841,13.81C15.938,14.153 15.938,14.517 15.841,14.86C15.653,15.675 15.094,16.356 14.331,16.7C12.798,17.248 11.178,17.512 9.551,17.48L10.431,17.48C19.081,17.48 17.601,14.48 17.601,14.48C17.042,13.784 16.822,12.875 17.001,12Z" style="fill-opacity:0.1;fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
<path d="M23.001,10.25C23.001,9.74 22.521,9.5 22.171,9.32L21.921,9.19C21.921,9.09 21.991,8.95 22.021,8.86C22.151,8.46 22.321,7.97 22.021,7.62C21.788,7.392 21.44,7.329 21.141,7.46C20.829,5.096 19.354,3.046 17.211,2L16.651,1.77C15.488,1.206 14.202,0.942 12.911,1C11.056,0.991 9.422,2.217 8.911,4C6.911,4.37 4.671,7.49 4.671,10C4.665,11.483 4.105,12.909 3.101,14C1.977,13.994 1.049,14.877 1.001,16C1.007,16.468 1.105,16.93 1.291,17.36C1.387,17.561 1.445,17.778 1.461,18C1.454,18.158 1.409,18.312 1.331,18.45C1.096,18.932 0.983,19.464 1.001,20C1.001,22 7.091,23 10.501,23C13.911,23 20.001,22 20.001,20C20.013,19.367 19.759,18.757 19.301,18.32C19.131,18.14 19.081,18.07 19.081,18C19.098,17.778 19.155,17.561 19.251,17.36C19.437,16.93 19.535,16.468 19.541,16C19.651,15.006 18.934,14.112 17.941,14.002C17.934,14.001 17.928,14.001 17.921,14C17.691,13.739 17.557,13.407 17.541,13.06C17.799,13.058 18.055,13.004 18.291,12.9L18.521,12.82L18.631,13.07C18.801,13.48 19.011,13.98 19.531,13.98C20.051,13.98 20.261,13.47 20.431,13.07C20.466,12.989 20.496,12.905 20.521,12.82L20.761,12.91C21.111,13.05 21.641,13.26 22.001,12.91C22.361,12.56 22.161,12.06 22.001,11.67C22.001,11.58 21.921,11.43 21.901,11.34L22.151,11.21C22.521,11 23.001,10.76 23.001,10.25ZM5.651,10C5.651,7.84 7.921,5 9.261,5C9.48,5.001 9.675,4.859 9.741,4.65C10.042,3.131 11.362,2.027 12.911,2C14.075,1.953 15.231,2.205 16.271,2.73L16.831,2.96C18.321,3.722 19.442,5.052 19.941,6.65C19.826,6.554 19.681,6.501 19.531,6.5C19.011,6.5 18.801,7.01 18.631,7.41C18.596,7.492 18.566,7.575 18.541,7.66L18.311,7.57C18.078,7.465 17.826,7.407 17.571,7.4C17.07,6.567 16.317,5.916 15.421,5.54C15.181,5.403 14.876,5.487 14.739,5.727C14.602,5.967 14.686,6.272 14.926,6.409C14.947,6.421 14.968,6.431 14.99,6.44C16.39,7.12 16.81,7.87 16.93,8.55C16.937,8.67 16.937,8.79 16.93,8.91L17.001,9L17.001,9.49C16.977,9.894 16.903,10.294 16.781,10.68C16.638,11.107 16.55,11.551 16.521,12L16.521,12.29C16.39,13.187 16.656,14.096 17.251,14.78C17.254,14.823 17.254,14.867 17.251,14.91L17.251,14.97C17.255,15.02 17.255,15.07 17.251,15.12L17.251,15.2C17.227,15.288 17.19,15.372 17.141,15.45C16.741,16 15.391,17 10.501,17C5.611,17 4.261,16 3.881,15.47C3.828,15.39 3.787,15.302 3.761,15.21C3.76,15.183 3.76,15.157 3.761,15.13C3.757,15.083 3.757,15.037 3.761,14.99L3.761,14.92C3.758,14.883 3.758,14.847 3.761,14.81C4.981,13.506 5.658,11.786 5.651,10ZM18.561,19C18.85,19.251 19.011,19.618 19.001,20C19.001,20.58 15.261,22 10.501,22C5.741,22 2.001,20.58 2.001,20C1.982,19.606 2.065,19.213 2.241,18.86C2.381,18.594 2.456,18.3 2.461,18C2.45,17.655 2.372,17.315 2.231,17C2.088,16.686 2.01,16.345 2.001,16C2.033,15.576 2.33,15.219 2.741,15.11C2.737,15.187 2.737,15.263 2.741,15.34L2.741,15.49C2.801,15.672 2.889,15.844 3.001,16C3.841,17.34 6.351,18 10.481,18C14.611,18 17.121,17.32 17.961,16C18.052,15.854 18.123,15.696 18.171,15.53L18.171,15.2C18.388,15.415 18.494,15.717 18.461,16.02C18.452,16.365 18.374,16.706 18.231,17.02C18.089,17.335 18.011,17.675 18.001,18.02C18.048,18.411 18.254,18.766 18.571,19L18.561,19ZM21.711,10.29C21.389,10.405 21.121,10.637 20.961,10.94C20.885,11.276 20.924,11.628 21.071,11.94C20.767,11.767 20.404,11.731 20.071,11.84C19.787,12.018 19.58,12.297 19.491,12.62C19.402,12.297 19.195,12.018 18.911,11.84C18.576,11.743 18.217,11.783 17.911,11.95L17.721,12.02L17.721,11.85C17.761,11.582 17.737,11.307 17.651,11.05L17.651,10.92C17.816,10.491 17.933,10.045 18.001,9.59C18.004,9.56 18.004,9.53 18.001,9.5L18.001,8.5C18.305,8.672 18.665,8.715 19.001,8.62C19.285,8.442 19.492,8.163 19.581,7.84C19.67,8.163 19.877,8.442 20.161,8.62C20.494,8.729 20.857,8.693 21.161,8.52C21.015,8.832 20.976,9.184 21.051,9.52C21.213,9.825 21.485,10.057 21.811,10.17L21.881,10.17L21.711,10.29Z" style="fill:rgb(48,60,66);fill-rule:nonzero;"/>
|
||||||
|
<path d="M23.001,10.25C23.001,9.74 22.521,9.5 22.171,9.32L21.921,9.19C21.921,9.09 21.991,8.95 22.021,8.86C22.151,8.46 22.321,7.97 22.021,7.62C21.788,7.392 21.44,7.329 21.141,7.46C20.829,5.096 19.354,3.046 17.211,2L16.651,1.77C15.488,1.206 14.202,0.942 12.911,1C11.056,0.991 9.422,2.217 8.911,4C6.911,4.37 4.671,7.49 4.671,10C4.665,11.483 4.105,12.909 3.101,14C1.977,13.994 1.049,14.877 1.001,16C1.007,16.468 1.105,16.93 1.291,17.36C1.387,17.561 1.445,17.778 1.461,18C1.454,18.158 1.409,18.312 1.331,18.45C1.096,18.932 0.983,19.464 1.001,20C1.001,22 7.091,23 10.501,23C13.911,23 20.001,22 20.001,20C20.013,19.367 19.759,18.757 19.301,18.32C19.131,18.14 19.081,18.07 19.081,18C19.098,17.778 19.155,17.561 19.251,17.36C19.437,16.93 19.535,16.468 19.541,16C19.651,15.006 18.934,14.112 17.941,14.002C17.934,14.001 17.928,14.001 17.921,14C17.691,13.739 17.557,13.407 17.541,13.06C17.799,13.058 18.055,13.004 18.291,12.9L18.521,12.82L18.631,13.07C18.801,13.48 19.011,13.98 19.531,13.98C20.051,13.98 20.261,13.47 20.431,13.07C20.466,12.989 20.496,12.905 20.521,12.82L20.761,12.91C21.111,13.05 21.641,13.26 22.001,12.91C22.361,12.56 22.161,12.06 22.001,11.67C22.001,11.58 21.921,11.43 21.901,11.34L22.151,11.21C22.521,11 23.001,10.76 23.001,10.25Z" style="fill:url(#_Linear1);fill-rule:nonzero;"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(17.3652,8.1031,-8.1031,17.3652,4.0351,9.071)"><stop offset="0" style="stop-color:white;stop-opacity:0.2"/><stop offset="1" style="stop-color:white;stop-opacity:0"/></linearGradient>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 14 KiB |
|
@ -9,6 +9,14 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="css/w3.css">
|
<link rel="stylesheet" href="css/w3.css">
|
||||||
<link rel="stylesheet" href="css/cookiebanner.css">
|
<link rel="stylesheet" href="css/cookiebanner.css">
|
||||||
|
<style>
|
||||||
|
img {
|
||||||
|
display: block;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
width: 25%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="w3-container">
|
<body class="w3-container">
|
||||||
|
@ -57,6 +65,7 @@
|
||||||
<p>All details regarding HoHoHo! can be found in the <a href="https://arxiv.org/pdf/1712.06259.pdf" target="_blank">corresponding paper</a>.</p>
|
<p>All details regarding HoHoHo! can be found in the <a href="https://arxiv.org/pdf/1712.06259.pdf" target="_blank">corresponding paper</a>.</p>
|
||||||
<h3>Third-party code</h3>
|
<h3>Third-party code</h3>
|
||||||
<p>The API used by this website is made possible thanks to the great work by Andreas Gohr, <a href="https://github.com/splitbrain/ook" target="_blank">whose repository can be found on GitHub.</a></p>
|
<p>The API used by this website is made possible thanks to the great work by Andreas Gohr, <a href="https://github.com/splitbrain/ook" target="_blank">whose repository can be found on GitHub.</a></p>
|
||||||
|
<img src="hohoho.svg" alt="Hohoho!">
|
||||||
</footer>
|
</footer>
|
||||||
<script src="js/main.js"></script>
|
<script src="js/main.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -79,7 +79,7 @@ function interpret() {
|
||||||
'Content-Type': 'application/x-www-form-urlencoded'
|
'Content-Type': 'application/x-www-form-urlencoded'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fetch('https://dev.jakobsenkl.pw/hohoho/api.php', options)
|
fetch('/api/api.php', options)
|
||||||
.then(res => res.text())
|
.then(res => res.text())
|
||||||
.then(res => (document.getElementById("text_code").value = res))
|
.then(res => (document.getElementById("text_code").value = res))
|
||||||
.catch(err => console.error(err));
|
.catch(err => console.error(err));
|
||||||
|
@ -93,7 +93,7 @@ function tobf() {
|
||||||
'Content-Type': 'application/x-www-form-urlencoded'
|
'Content-Type': 'application/x-www-form-urlencoded'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let promise = fetch('https://dev.jakobsenkl.pw/hohoho/api.php', options)
|
let promise = fetch('/api/api.php', options)
|
||||||
.then(res => res.text())
|
.then(res => res.text())
|
||||||
.then(res => (document.getElementById("brainfuck_code").value = res))
|
.then(res => (document.getElementById("brainfuck_code").value = res))
|
||||||
.catch(err => console.error(err));
|
.catch(err => console.error(err));
|
||||||
|
|
Reference in a new issue