quidproquo-webserver
Advanced tools
Comparing version 0.0.176 to 0.0.177
import { QPQConfigSetting, QPQConfigAdvancedSettings } from 'quidproquo-core'; | ||
export declare enum DomainProxyViewerProtocolPolicy { | ||
/** HTTPS only */ | ||
HTTPS_ONLY = "https-only", | ||
/** Will redirect HTTP requests to HTTPS */ | ||
REDIRECT_TO_HTTPS = "redirect-to-https", | ||
/** Both HTTP and HTTPS supported */ | ||
ALLOW_ALL = "allow-all" | ||
} | ||
export interface DomainProxyDomainOptions { | ||
@@ -12,5 +20,7 @@ rootDomain: string; | ||
ignoreCache?: string[]; | ||
domainProxyViewerProtocolPolicy: DomainProxyViewerProtocolPolicy; | ||
} | ||
export interface DomainProxyQPQWebServerConfigSetting extends QPQConfigSetting { | ||
name: string; | ||
domainProxyViewerProtocolPolicy: DomainProxyViewerProtocolPolicy; | ||
domain: DomainProxyDomainOptions; | ||
@@ -17,0 +27,0 @@ httpProxyDomain: string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.defineDomainProxy = void 0; | ||
exports.defineDomainProxy = exports.DomainProxyViewerProtocolPolicy = void 0; | ||
const QPQConfig_1 = require("../QPQConfig"); | ||
var DomainProxyViewerProtocolPolicy; | ||
(function (DomainProxyViewerProtocolPolicy) { | ||
/** HTTPS only */ | ||
DomainProxyViewerProtocolPolicy["HTTPS_ONLY"] = "https-only"; | ||
/** Will redirect HTTP requests to HTTPS */ | ||
DomainProxyViewerProtocolPolicy["REDIRECT_TO_HTTPS"] = "redirect-to-https"; | ||
/** Both HTTP and HTTPS supported */ | ||
DomainProxyViewerProtocolPolicy["ALLOW_ALL"] = "allow-all"; | ||
})(DomainProxyViewerProtocolPolicy = exports.DomainProxyViewerProtocolPolicy || (exports.DomainProxyViewerProtocolPolicy = {})); | ||
const defineDomainProxy = (name, options) => ({ | ||
@@ -9,7 +18,8 @@ configSettingType: QPQConfig_1.QPQWebServerConfigSettingType.DomainProxy, | ||
name, | ||
httpProxyDomain: options === null || options === void 0 ? void 0 : options.httpProxyDomain, | ||
httpProxyDomain: options.httpProxyDomain, | ||
domain: options.domain, | ||
ignoreCache: (options === null || options === void 0 ? void 0 : options.ignoreCache) || [], | ||
cacheSettingsName: options === null || options === void 0 ? void 0 : options.cacheSettingsName, | ||
ignoreCache: options.ignoreCache || [], | ||
cacheSettingsName: options.cacheSettingsName, | ||
domainProxyViewerProtocolPolicy: options.domainProxyViewerProtocolPolicy, | ||
}); | ||
exports.defineDomainProxy = defineDomainProxy; |
{ | ||
"name": "quidproquo-webserver", | ||
"version": "0.0.176", | ||
"version": "0.0.177", | ||
"description": "", | ||
@@ -28,8 +28,8 @@ "main": "./lib/commonjs/index.js", | ||
"dependencies": { | ||
"quidproquo-core": "0.0.176" | ||
"quidproquo-core": "0.0.177" | ||
}, | ||
"devDependencies": { | ||
"quidproquo-tsconfig": "0.0.176", | ||
"quidproquo-tsconfig": "0.0.177", | ||
"typescript": "^4.9.3" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
171641
3324
+ Addedquidproquo-core@0.0.177(transitive)
- Removedquidproquo-core@0.0.176(transitive)
Updatedquidproquo-core@0.0.177