add auto-signup login and localized auth UI
- backend: userLogin auto-registers missing users and returns auto_registered - frontend: add responsive auth page (login + signup flow via userLogin) with light/dark mode and logo - i18n: wire language switching, add translations for cs/en/es/de - ui/tooling: add Font Awesome integration
This commit is contained in:
@ -4,12 +4,12 @@ require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
ob_start();
|
||||
|
||||
$backend_api = new TPsoft\BugreportBackend\API('typescript', 'import.meta.env.VITE_BACKENDAPI_URL', 'backend');
|
||||
$backend_api = new TPsoft\Nutrio\API('typescript', 'import.meta.env.VITE_BACKENDAPI_URL', 'BackendAPI');
|
||||
|
||||
$output = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
$ts_path = realpath(__DIR__ . '/../../frontend/src').'/backend.js';
|
||||
$ts_path = realpath(__DIR__ . '/../../frontend/src').'/BackendAPI.js';
|
||||
$suc = file_put_contents($ts_path, $output);
|
||||
if ($suc === false) {
|
||||
echo "✗ TypeScript store into file failed\n";
|
||||
|
||||
Reference in New Issue
Block a user