Skip to content

Commit

Permalink
新增 .env.json
Browse files Browse the repository at this point in the history
用于调试代码时读取 ClusterId 和 ClusterSecret,避免将密钥写在代码里然后 leak(
  • Loading branch information
SALTWOOD committed Mar 2, 2024
1 parent e28cfbb commit cb8541f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -360,4 +360,6 @@ MigrationBackup/
.ionide/

# Fody - auto-generated XML schema
FodyWeavers.xsd
FodyWeavers.xsd

.env.*
6 changes: 6 additions & 0 deletions CSharp-OpenBMCLAPI/CSharp-OpenBMCLAPI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,10 @@
<PackageReference Include="SaltWood.TeraIO" Version="1.0.2" />
</ItemGroup>

<ItemGroup>
<None Update=".env.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>

0 comments on commit cb8541f

Please sign in to comment.