mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 17:45:10 +01:00
18 lines
352 B
JavaScript
18 lines
352 B
JavaScript
'use strict';
|
|
|
|
import requests from '../utils/requests';
|
|
|
|
import { getSubdomain } from '../utils/general_utils';
|
|
|
|
|
|
let WhitelabelFetcher = {
|
|
/**
|
|
* Fetch the custom whitelabel data from the API.
|
|
*/
|
|
fetch() {
|
|
return requests.get('whitelabel_settings', {'subdomain': getSubdomain()});
|
|
}
|
|
};
|
|
|
|
export default WhitelabelFetcher;
|