11 lines
227 B
C
11 lines
227 B
C
|
#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);
|
||
|
}
|