mirror of
https://github.com/Polaris-Entertainment/bytefy.git
synced 2026-07-08 16:45:09 +00:00
Prepare beta release
This commit is contained in:
4
tools/src/environments/environment.development.ts
Normal file
4
tools/src/environments/environment.development.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export const environment = {
|
||||
production: false,
|
||||
uploadServiceBaseUrl: 'http://localhost:1337'
|
||||
};
|
||||
@@ -1,4 +1,4 @@
|
||||
export const environment = {
|
||||
production: false,
|
||||
uploadServiceBaseUrl: 'http://localhost:1337'
|
||||
production: true,
|
||||
uploadServiceBaseUrl: 'http://image.bytefy.net'
|
||||
};
|
||||
19
tools/src/web.config
Normal file
19
tools/src/web.config
Normal file
@@ -0,0 +1,19 @@
|
||||
<?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>
|
||||
</system.webServer>
|
||||
|
||||
</configuration>
|
||||
Reference in New Issue
Block a user