SolarEnergy/esp32_device/main/unsecure_api.c

11 lines
227 B
C
Raw Normal View History

2024-08-17 11:49:55 +00:00
#include "unsecure_api.h"
#include "constants.h"
#include "esp_http_client.h"
#include <string.h>
char *unsecure_api_get_secure_origin()
{
const char *url = BACKEND_UNSECURE_URL "/secure_origin";
return strdup(url);
}