We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aa1099 commit 86f2a1bCopy full SHA for 86f2a1b
packages/angular-cli/custom-typings.d.ts
@@ -1,7 +1,7 @@
1
interface IWebpackDevServerConfigurationOptions {
2
contentBase?: string;
3
hot?: boolean;
4
- historyApiFallback?: {[key: string]: boolean} | boolean;
+ historyApiFallback?: {[key: string]: any} | boolean;
5
compress?: boolean;
6
proxy?: {[key: string]: string};
7
staticOptions?: any;
packages/angular-cli/tasks/serve-webpack.ts
@@ -72,6 +72,7 @@ export default Task.extend({
72
),
73
historyApiFallback: {
74
disableDotRule: true,
75
+ htmlAcceptHeaders: ['text/html', 'application/xhtml+xml']
76
},
77
stats: webpackDevServerOutputOptions,
78
inline: true,
0 commit comments