Browse Source

Fix backup restore.

pull/800/head
Sebastian 4 years ago
parent
commit
618fff4222
  1. 2
      backend/src/Squidex.Infrastructure/Commands/Rebuilder.cs
  2. 1
      frontend/app-config/webpack.config.js

2
backend/src/Squidex.Infrastructure/Commands/Rebuilder.cs

@ -167,7 +167,7 @@ namespace Squidex.Infrastructure.Commands
var errorRate = (double)handlerErrors / handledIds.Count;
if (errorRate >= errorThreshold)
if (errorRate > 0 && errorRate >= errorThreshold)
{
throw new InvalidOperationException($"Error rate of {errorRate} is above threshold {errorThreshold}.");
}

1
frontend/app-config/webpack.config.js

@ -134,7 +134,6 @@ module.exports = function calculateConfig(env) {
loader: 'file-loader',
options: {
name: '[name].[hash].[ext]',
// Store the assets in custom path because of fonts need relative urls.
outputPath: 'assets',

Loading…
Cancel
Save