mirror of
https://codeberg.org/vlw/stadia-avatar.git
synced 2025-09-14 07:23:41 +02:00
Separated client- and server-side features into seperate root folders. Since Stadia Avatar now has two versions (Userscript and Chrome extension). Added core extension functionality. Created a page constructor for extension popup. High probability that I will create a seperate repo for this feature, as it's pretty neat and very useful for future extensions.
8 lines
No EOL
197 B
PHP
8 lines
No EOL
197 B
PHP
<?php
|
|
|
|
header("Content-Type: application/json");
|
|
|
|
function error($code,$message) {
|
|
http_response_code($code);
|
|
die("{\"status\":\"error\",\"code\":\"${code}\",\"message\":\"${message}\"}");
|
|
} |