Rewrite URL for IE users (#340)
This commit is contained in:
parent
6da43ee27b
commit
16bde97e47
|
@ -101,6 +101,7 @@ jobs:
|
||||||
PLATFORM: "Emulator"
|
PLATFORM: "Emulator"
|
||||||
NODE_TLS_REJECT_UNAUTHORIZED: 0
|
NODE_TLS_REJECT_UNAUTHORIZED: 0
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: screenshots
|
name: screenshots
|
||||||
path: failed-*
|
path: failed-*
|
||||||
|
@ -159,6 +160,7 @@ jobs:
|
||||||
TABLES_CONNECTION_STRING: ${{ secrets.CONNECTION_STRING_TABLE }}
|
TABLES_CONNECTION_STRING: ${{ secrets.CONNECTION_STRING_TABLE }}
|
||||||
DATA_EXPLORER_ENDPOINT: "https://localhost:1234/hostedExplorer.html"
|
DATA_EXPLORER_ENDPOINT: "https://localhost:1234/hostedExplorer.html"
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: screenshots
|
name: screenshots
|
||||||
path: failed-*
|
path: failed-*
|
||||||
|
|
|
@ -54,7 +54,7 @@ describe("Collection Add and Delete SQL spec", () => {
|
||||||
// validate created
|
// validate created
|
||||||
// open database menu
|
// open database menu
|
||||||
await frame.waitForSelector('div[class="splashScreen"] > div[class="title"]', { visible: true });
|
await frame.waitForSelector('div[class="splashScreen"] > div[class="title"]', { visible: true });
|
||||||
await frame.waitFor(LOADING_STATE_DELAY);
|
await frame.waitFor(CREATE_DELAY);
|
||||||
await frame.waitForSelector('div[class="splashScreen"] > div[class="title"]', { visible: true });
|
await frame.waitForSelector('div[class="splashScreen"] > div[class="title"]', { visible: true });
|
||||||
const databases = await frame.$$(`div[class="databaseHeader main1 nodeItem "] > div[class="treeNodeHeader "]`);
|
const databases = await frame.$$(`div[class="databaseHeader main1 nodeItem "] > div[class="treeNodeHeader "]`);
|
||||||
const selectedDbId = await frame.evaluate(element => {
|
const selectedDbId = await frame.evaluate(element => {
|
||||||
|
|
11
web.config
11
web.config
|
@ -15,6 +15,15 @@
|
||||||
<action type="Rewrite" value="max-age=31536000; includeSubdomains; preload" />
|
<action type="Rewrite" value="max-age=31536000; includeSubdomains; preload" />
|
||||||
</rule>
|
</rule>
|
||||||
</outboundRules>
|
</outboundRules>
|
||||||
|
<rules>
|
||||||
|
<rule name="Rewrite for IE users" stopProcessing="true">
|
||||||
|
<match url=".*" />
|
||||||
|
<conditions>
|
||||||
|
<add input="{HTTP_USER_AGENT}" pattern="Trident" />
|
||||||
|
</conditions>
|
||||||
|
<action type="Rewrite" value="https://{HTTP_HOST}/ie{REQUEST_URI}"/>
|
||||||
|
</rule>
|
||||||
|
</rules>
|
||||||
</rewrite>
|
</rewrite>
|
||||||
<httpProtocol>
|
<httpProtocol>
|
||||||
<customHeaders>
|
<customHeaders>
|
||||||
|
@ -56,4 +65,4 @@
|
||||||
</staticContent>
|
</staticContent>
|
||||||
</system.webServer>
|
</system.webServer>
|
||||||
</location>
|
</location>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
Loading…
Reference in New Issue