Rewrite URL for IE users (#340)
This commit is contained in:
parent
6da43ee27b
commit
16bde97e47
|
@ -101,6 +101,7 @@ jobs:
|
|||
PLATFORM: "Emulator"
|
||||
NODE_TLS_REJECT_UNAUTHORIZED: 0
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: failure()
|
||||
with:
|
||||
name: screenshots
|
||||
path: failed-*
|
||||
|
@ -159,6 +160,7 @@ jobs:
|
|||
TABLES_CONNECTION_STRING: ${{ secrets.CONNECTION_STRING_TABLE }}
|
||||
DATA_EXPLORER_ENDPOINT: "https://localhost:1234/hostedExplorer.html"
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: failure()
|
||||
with:
|
||||
name: screenshots
|
||||
path: failed-*
|
||||
|
|
|
@ -54,7 +54,7 @@ describe("Collection Add and Delete SQL spec", () => {
|
|||
// validate created
|
||||
// open database menu
|
||||
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 });
|
||||
const databases = await frame.$$(`div[class="databaseHeader main1 nodeItem "] > div[class="treeNodeHeader "]`);
|
||||
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" />
|
||||
</rule>
|
||||
</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>
|
||||
<httpProtocol>
|
||||
<customHeaders>
|
||||
|
@ -56,4 +65,4 @@
|
|||
</staticContent>
|
||||
</system.webServer>
|
||||
</location>
|
||||
</configuration>
|
||||
</configuration>
|
||||
|
|
Loading…
Reference in New Issue