MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / normalizeAccountRunHistoryHelperBaseUrl

Function normalizeAccountRunHistoryHelperBaseUrl

background.js:683–698  ·  view source on GitHub ↗
(rawValue = '')

Source from the content-addressed store, hash-verified

681}
682
683function normalizeAccountRunHistoryHelperBaseUrl(rawValue = '') {
684 const value = String(rawValue || '').trim();
685 if (!value) return DEFAULT_ACCOUNT_RUN_HISTORY_HELPER_BASE_URL;
686
687 try {
688 const parsed = new URL(value);
689 if (parsed.pathname === '/append-account-log') {
690 parsed.pathname = '';
691 parsed.search = '';
692 parsed.hash = '';
693 }
694 return normalizeHotmailLocalBaseUrl(parsed.toString());
695 } catch {
696 return normalizeHotmailLocalBaseUrl(value);
697 }
698}
699
700function getHotmailServiceSettings(state = {}) {
701 return {

Calls 1

Tested by

no test coverage detected