Skip to content

Commit

Permalink
Change separator between blog id and blog slug
Browse files Browse the repository at this point in the history
  • Loading branch information
hanifn committed Oct 26, 2023
1 parent db1dace commit 50dc3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/dev-env-sync-sql.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export class DevEnvSyncSQLCommand {
if ( ! this.searchReplaceMap[ url ] ) continue;

slugify.extend( { '.': '-' } );
this.searchReplaceMap[ url ] = `${ site.blogId }.${ slugify( url, {
this.searchReplaceMap[ url ] = `${ site.blogId }-${ slugify( url, {
lower: true,
} ) }.${ this.landoDomain }`;
}
Expand Down

0 comments on commit 50dc3f5

Please sign in to comment.