Skip to content

Commit

Permalink
remove redundant localStorage prefix, just $appName is enough
Browse files Browse the repository at this point in the history
  • Loading branch information
quasilyte committed Nov 5, 2023
1 parent bda0c82 commit 3cd2089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdata_js.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func newDataManager(config Config) (dataManagerImpl, error) {
}

func (m *dataManager) DataPath(itemKey string) string {
return "_gdata_" + m.appName + "_" + itemKey
return m.appName + "_" + itemKey
}

func (m *dataManager) DataExists(itemKey string) bool {
Expand Down

0 comments on commit 3cd2089

Please sign in to comment.