Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
UiPathSerban committed Oct 25, 2023
1 parent 7990dd2 commit 399692c
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 4 deletions.
6 changes: 4 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"inlineStyleLanguage": "scss",
"assets": [
"src/UiPathLogo.png",
"src/assets"
"src/assets",
"src/web.config"
],
"styles": [
"node_modules/bootstrap/dist/css/bootstrap.min.css",
Expand Down Expand Up @@ -101,7 +102,8 @@
"inlineStyleLanguage": "scss",
"assets": [
"src/UiPathLogo.png",
"src/assets"
"src/assets",
"src/web.config"
],
"styles": [
"src/styles.scss",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ <h1 class="text-center">Registration</h1>
THE
ONLY REAL DATA YOU NEED
TO
PROVIDE IS YOUR EMAIL, WHICH WILL BE USED FOR CONFIRMING THE REGISTRATION AND LATER ON FOR PASSOWRD
RECOVERY. FEEL FREE TO USE DUMMY DATA FOR ALL THE OTHER FIELDS IN THIS REGISTRATION FOR, AS WELL AS
PROVIDE IS YOUR EMAIL, WHICH WILL BE USED FOR CONFIRMING THE REGISTRATION AND LATER ON FOR PASSWORD
RECOVERY. USE DUMMY DATA FOR ALL THE OTHER FIELDS IN THIS REGISTRATION FORM, AS WELL AS
EVERYWHERE ELSE IN THE APPLICATION</p>
<!-- ... (other form groups) ... -->
<div class="container">
Expand Down
38 changes: 38 additions & 0 deletions src/web.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>

<system.webServer>
<rewrite>
<rules>
<rule name="Angular Routes" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="./index.html" />
</rule>
</rules>
</rewrite>
<security>
<requestFiltering>
<fileExtensions>
<add fileExtension=".svg" allowed="true" />
<add fileExtension=".woff" allowed="true" />
<add fileExtension=".woff2" allowed="true" />
</fileExtensions>
</requestFiltering>
</security>

<httpProtocol>
<customHeaders>
<!-- <add name="X-Content-Type-Options" value="no-sniff"/>
<add name="X-Frame-Options" value="SAMEORIGIN"/>
<add name="X-Xss-Protection" value="1; mode=block"/>
<add name="Strict-Transport-Security" value="max-age=31536000; includeSubDomains"/> -->
</customHeaders>
</httpProtocol>
<httpRedirect enabled="false" destination="" />
</system.webServer>

</configuration>

0 comments on commit 399692c

Please sign in to comment.