Newer
Older
smart-home-server / webclient / config.php
@Eugene Sukhodolskiy Eugene Sukhodolskiy 17 hours ago 435 bytes Bugfixes. Webclient. DataProvider
<?php

return [
	"version" => "0.3 dev",
	"server" => "http://smart-home-serv.local",
	// Какие пути разрешены (белый список) — подстрой под себя
	"allowed_prefixes" => [
		"/api/v1/",
	],
	"proxy" => [
		// Кто может обращаться (CORS)
		"allowed_origins" => [
			'http://localhost:5173',
			'http://127.0.0.1:5173',
			// 'https://your-frontend-domain.com',
		],
	],
];